using Zurnal.domain.Models; using Microsoft.Extensions.DependencyInjection; using Zurnal.Data.Repository; namespace Zurnal.Date.Repository { internal interface IGroupRepository { List GetAllGroup(); bool RemoveGroupById(int groupID); bool UpdateGroupById(int groupID, GroupLocalEntity updatedGroup); GroupLocalEntity GetGroupById(int groupID); bool AddGroup(GroupLocalEntity newGroup); } internal class ServiceConfiguration { public static void ConfigureServices(IServiceCollection services) { services.AddDbContext() .AddScoped(); } } }