add report

This commit is contained in:
MaxKarme 2023-04-08 22:27:21 +04:00
parent a424c0708e
commit dadcc5b61a
3 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,12 @@
using UniversityContracts.ViewModels;
namespace UniversityContracts.BindingModels
{
public class ReportBindingModel
{
public string? FileName { get; set; } = string.Empty;
public DateTime? From { get; set; }
public DateTime? To { get; set; }
List<StudentViewModel> Students { get; set; } = new();
}
}

View File

@ -0,0 +1,10 @@
using UniversityContracts.BindingModels;
using UniversityContracts.ViewModels;
namespace UniversityContracts.BuisnessLogicContracts
{
public interface IReportLogic
{
List<ReportStudentDisciplineViewModel> GetStudentDiscipline(ReportBindingModel model);
}
}

View File

@ -0,0 +1,8 @@
namespace UniversityContracts.ViewModels
{
public class ReportStudentDisciplineViewModel
{
public string StudentName { get; set; } = string.Empty;
public List<string> Disciplines { get; set; } = new();
}
}