diff --git a/University/UniversityContracts/BuisnessLogicContracts/IReportLogic.cs b/University/UniversityContracts/BuisnessLogicContracts/IReportLogic.cs index c5e3818..1a418ed 100644 --- a/University/UniversityContracts/BuisnessLogicContracts/IReportLogic.cs +++ b/University/UniversityContracts/BuisnessLogicContracts/IReportLogic.cs @@ -1,4 +1,5 @@ -using UniversityContracts.BindingModels; + +using UniversityContracts.BindingModels; using UniversityContracts.ViewModels; namespace UniversityContracts.BuisnessLogicContracts @@ -6,5 +7,9 @@ namespace UniversityContracts.BuisnessLogicContracts public interface IReportLogic { List GetStudentDiscipline(ReportBindingModel model); + List GetStudens(ReportBindingModel model); + void SaveStudentsToWord(); + void SaveStudentsToExcel(); + void SaveStudentsToPdf(); } } diff --git a/University/UniversityContracts/ViewModels/ReportStudentsViewModel.cs b/University/UniversityContracts/ViewModels/ReportStudentsViewModel.cs new file mode 100644 index 0000000..385cf79 --- /dev/null +++ b/University/UniversityContracts/ViewModels/ReportStudentsViewModel.cs @@ -0,0 +1,14 @@ +using UniversityDataModels.Enums; + +namespace UniversityContracts.ViewModels +{ + public class ReportStudentsViewModel + { + string StudentName { get; set; } = string.Empty; + string ExaminationForm { get; set; } = string.Empty; + MarkType mark { get; set; } = MarkType.Неизвестен; + DateTime ExaminationResultDate { get; set; } + int HoursCount { get; set; } + DateTime StatementDate { get; set; } + } +}