From 35732809a7be6bd440e0cc2fee547f14230ac131 Mon Sep 17 00:00:00 2001 From: MaxKarme <91691525+MaxKarme@users.noreply.github.com> Date: Tue, 4 Apr 2023 18:13:51 +0400 Subject: [PATCH] fix --- .../BindingModels/StatementBindingModel.cs | 2 +- .../UniversityContracts/ViewModels/StudentViewModel.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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; } }