diff --git a/StudentProgressRecord/Entity/Department.cs b/StudentProgressRecord/Entity/Department.cs index 4f018ae..246cc5f 100644 --- a/StudentProgressRecord/Entity/Department.cs +++ b/StudentProgressRecord/Entity/Department.cs @@ -17,11 +17,12 @@ namespace StudentProgressRecord.Entity public static Department CreateDepartment(long id, string DepartmentName, long facultyId) { - return new Department - { + return new Department + { Id = id, - DepartmentName = DepartmentName, - facultyId = facultyId + DepartmentName = DepartmentName, + facultyId = facultyId }; + } } } diff --git a/StudentProgressRecord/IRepositories/IGroupRepository.cs b/StudentProgressRecord/IRepositories/IGroupRepository.cs index 03213d4..e73f1e3 100644 --- a/StudentProgressRecord/IRepositories/IGroupRepository.cs +++ b/StudentProgressRecord/IRepositories/IGroupRepository.cs @@ -1,8 +1,9 @@ -using System; +using StudentProgressRecord.Entity; +using System; using System.Collections.Generic; using System.Linq; using System.Text; -using System.Text.RegularExpressions; + using System.Threading.Tasks; namespace StudentProgressRecord.Repositories diff --git a/StudentProgressRecord/Program.cs b/StudentProgressRecord/Program.cs index 03f352d..676d5d5 100644 --- a/StudentProgressRecord/Program.cs +++ b/StudentProgressRecord/Program.cs @@ -1,3 +1,4 @@ + namespace StudentProgressRecord { internal static class Program @@ -13,5 +14,6 @@ namespace StudentProgressRecord ApplicationConfiguration.Initialize(); Application.Run(new Form1()); } + } } \ No newline at end of file diff --git a/StudentProgressRecord/RepositoryImp/GroupRepository.cs b/StudentProgressRecord/RepositoryImp/GroupRepository.cs index 530784f..822ecf5 100644 --- a/StudentProgressRecord/RepositoryImp/GroupRepository.cs +++ b/StudentProgressRecord/RepositoryImp/GroupRepository.cs @@ -1,24 +1,22 @@ using StudentProgressRecord.Entity; -using StudentProgressRecord.Repositories; using System; using System.Collections.Generic; using System.Linq; using System.Text; - using System.Threading.Tasks; -namespace StudentProgressRecord.RepositoryImp +namespace StudentProgressRecord.Repositories { public class GroupRepository : IGroupRepository { public void CreateGroup(Group group) { - + } public void DeleteGroup(long id) { - + } public Group ReadGroupById(long id) @@ -33,7 +31,7 @@ namespace StudentProgressRecord.RepositoryImp public void UpdateGroup(Group group) { - + } } }