diff --git a/University/UniversityContracts/BindingModels/StatementBindingModel.cs b/University/UniversityContracts/BindingModels/StatementBindingModel.cs index 7cf9d4f..6511262 100644 --- a/University/UniversityContracts/BindingModels/StatementBindingModel.cs +++ b/University/UniversityContracts/BindingModels/StatementBindingModel.cs @@ -2,7 +2,7 @@ namespace UniversityContracts.BindingModels { - public class StatementBindingModel : IStatementModel + public class StatementBindingModel : IStudentModel { public int Id { get; set; } public DateTime Date { get; set; } = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc); diff --git a/University/UniversityContracts/ViewModels/StudentViewModel.cs b/University/UniversityContracts/ViewModels/StudentViewModel.cs index 3e119aa..2ff6158 100644 --- a/University/UniversityContracts/ViewModels/StudentViewModel.cs +++ b/University/UniversityContracts/ViewModels/StudentViewModel.cs @@ -2,10 +2,10 @@ namespace UniversityContracts.ViewModels { - public class StudentViewModel : IStatementModel + public class StudentViewModel : IStudentModel { public int Id { get; set; } - public DateTime Date { get; set; } = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc); - public int HoursCount { get; set; } + public string Name { get; set; } = String.Empty; + public string RecordCardNumber { get; set; } = String.Empty; } }