using Zurnal.domain.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; 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 interface IServiceCollection services = new ServiceCollection(); serivces.AddDbContext() .AddDbContext(); }