правки
This commit is contained in:
parent
c3a50e6988
commit
d78c16662f
@ -17,11 +17,12 @@ namespace StudentProgressRecord.Entity
|
|||||||
|
|
||||||
public static Department CreateDepartment(long id, string DepartmentName, long facultyId)
|
public static Department CreateDepartment(long id, string DepartmentName, long facultyId)
|
||||||
{
|
{
|
||||||
return new Department
|
return new Department
|
||||||
{
|
{
|
||||||
Id = id,
|
Id = id,
|
||||||
DepartmentName = DepartmentName,
|
DepartmentName = DepartmentName,
|
||||||
facultyId = facultyId
|
facultyId = facultyId
|
||||||
};
|
};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
using System;
|
using StudentProgressRecord.Entity;
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Text.RegularExpressions;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace StudentProgressRecord.Repositories
|
namespace StudentProgressRecord.Repositories
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
namespace StudentProgressRecord
|
namespace StudentProgressRecord
|
||||||
{
|
{
|
||||||
internal static class Program
|
internal static class Program
|
||||||
@ -13,5 +14,6 @@ namespace StudentProgressRecord
|
|||||||
ApplicationConfiguration.Initialize();
|
ApplicationConfiguration.Initialize();
|
||||||
Application.Run(new Form1());
|
Application.Run(new Form1());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,24 +1,22 @@
|
|||||||
using StudentProgressRecord.Entity;
|
using StudentProgressRecord.Entity;
|
||||||
using StudentProgressRecord.Repositories;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace StudentProgressRecord.RepositoryImp
|
namespace StudentProgressRecord.Repositories
|
||||||
{
|
{
|
||||||
public class GroupRepository : IGroupRepository
|
public class GroupRepository : IGroupRepository
|
||||||
{
|
{
|
||||||
public void CreateGroup(Group group)
|
public void CreateGroup(Group group)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void DeleteGroup(long id)
|
public void DeleteGroup(long id)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Group ReadGroupById(long id)
|
public Group ReadGroupById(long id)
|
||||||
@ -33,7 +31,7 @@ namespace StudentProgressRecord.RepositoryImp
|
|||||||
|
|
||||||
public void UpdateGroup(Group group)
|
public void UpdateGroup(Group group)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user