implementation/add-data-classes #1

Merged
VsevolodKozlov123 merged 10 commits from implementation/add-data-classes into master 2024-12-12 16:11:43 +00:00
Showing only changes of commit 77051bcf84 - Show all commits

View File

@ -27,8 +27,14 @@ namespace data.Repository
} }
public IEnumerable<GroupDAO> getAllGroup() public IEnumerable<GroupDAO> getAllGroup()
{
try
{ {
return dbContext.groups.ToList(); return dbContext.groups.ToList();
} }
catch (Exception ex) {
return new List<GroupDAO>();
}
}
} }
} }