Обновить Data/Repository/GroupRepositoryImpl.cs

This commit is contained in:
NelaSnows 2024-10-18 09:20:09 +00:00
parent 36a123355e
commit b74b626fe0

View File

@ -1,4 +1,3 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
@ -22,7 +21,7 @@ namespace Posechaemost.Data.Repository
return groupLocal; return groupLocal;
} }
public GroupLocalEntity? AddGroup(String name, String id) public GroupLocalEntity? AddGroup(String name, String id) //не работает корректно
{ {
GroupLocalEntity? groupLocal = GetAllGroups().FirstOrDefault(); GroupLocalEntity? groupLocal = GetAllGroups().FirstOrDefault();
groupLocal.Name = name; groupLocal.Name = name;