Роль и Юзер вроде есть

This commit is contained in:
Danil Markov 2023-04-07 19:35:39 +04:00
parent 3d3a8a17bb
commit 2bd66c7925
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ namespace UniversityBusinessLogic.BusinessLogics
} }
public List<ReportStreamStudentEdStatPeriodViewModel> StreamStudentEdStatPeriod(ReportBindingModel model) public List<ReportStreamStudentEdStatPeriodViewModel> StreamStudentEdStatPeriod(ReportBindingModel model)
{ {
throw new NotImplementedException();
} }
public void SaveBlanksToWordFile(ReportBindingModel model) public void SaveBlanksToWordFile(ReportBindingModel model)

View File

@ -19,7 +19,7 @@ namespace UniversityDataBaseImplemet.Models
public string Password { get; set; } = string.Empty; public string Password { get; set; } = string.Empty;
[Required] [Required]
public int RoleId { get; set; } public int RoleId { get; set; }
public virtual Role Role { get; set; } = new();
public static User Create(UserBindingModel model) public static User Create(UserBindingModel model)
{ {
return new User() return new User()