Merge branch 'ModelsAndContracts' of http://student.git.athene.tech/maxKarme/PIbd-22_Karamushko_M_K_University_CourseWork into DatabaseImplement
This commit is contained in:
commit
4a787d1931
@ -1,8 +1,15 @@
|
||||
using UniversityDataModels.Models;
|
||||
using UniversityContracts.BindingModels;
|
||||
using UniversityContracts.SearchModels;
|
||||
using UniversityContracts.ViewModels;
|
||||
|
||||
namespace UniversityContracts.BuisnessLogicContracts
|
||||
{
|
||||
public interface IActivityLogic
|
||||
{
|
||||
List<ActivityViewModel>? ReadList(ActivitySearchModel? model);
|
||||
ActivityViewModel? ReadElement(ActivitySearchModel model);
|
||||
bool Create(ActivityBindingModel model);
|
||||
bool Update(ActivityBindingModel model);
|
||||
bool Delete(ActivityBindingModel model);
|
||||
}
|
||||
}
|
||||
|
@ -1,9 +1,16 @@
|
||||
using UniversityDataModels.Models;
|
||||
using UniversityContracts.BindingModels;
|
||||
using UniversityContracts.SearchModels;
|
||||
using UniversityContracts.ViewModels;
|
||||
|
||||
namespace UniversityContracts.BuisnessLogicContracts
|
||||
{
|
||||
|
||||
public interface IDisciplineLogic
|
||||
{
|
||||
List<DisciplineViewModel>? ReadList(DisciplineSearchModel? model);
|
||||
DisciplineViewModel? ReadElement(DisciplineSearchModel model);
|
||||
bool Create(DisciplineBindingModel model);
|
||||
bool Update(DisciplineBindingModel model);
|
||||
bool Delete(DisciplineBindingModel model);
|
||||
}
|
||||
}
|
||||
|
@ -1,8 +1,15 @@
|
||||
using UniversityDataModels.Models;
|
||||
using UniversityContracts.BindingModels;
|
||||
using UniversityContracts.SearchModels;
|
||||
using UniversityContracts.ViewModels;
|
||||
|
||||
namespace UniversityContracts.BuisnessLogicContracts
|
||||
{
|
||||
public interface IExaminationResultLogic
|
||||
{
|
||||
List<ExaminationResultViewModel>? ReadList(ExaminationResultSearchModel? model);
|
||||
ExaminationResultViewModel? ReadElement(ExaminationResultSearchModel model);
|
||||
bool Create(ExaminationResultBindingModel model);
|
||||
bool Update(ExaminationResultBindingModel model);
|
||||
bool Delete(ExaminationResultBindingModel model);
|
||||
}
|
||||
}
|
||||
|
@ -1,9 +1,16 @@
|
||||
using UniversityDataModels.Models;
|
||||
using UniversityContracts.BindingModels;
|
||||
using UniversityContracts.SearchModels;
|
||||
using UniversityContracts.ViewModels;
|
||||
|
||||
namespace UniversityContracts.BuisnessLogicContracts
|
||||
{
|
||||
|
||||
public interface IReportTypeLogic
|
||||
{
|
||||
List<ReportTypeViewModel>? ReadList(ReportTypeSearchModel? model);
|
||||
ReportTypeViewModel? ReadElement(ReportTypeSearchModel model);
|
||||
bool Create(ReportTypeBindingModel model);
|
||||
bool Update(ReportTypeBindingModel model);
|
||||
bool Delete(ReportTypeBindingModel model);
|
||||
}
|
||||
}
|
||||
|
@ -1,8 +1,15 @@
|
||||
using UniversityDataModels.Models;
|
||||
using UniversityContracts.BindingModels;
|
||||
using UniversityContracts.SearchModels;
|
||||
using UniversityContracts.ViewModels;
|
||||
|
||||
namespace UniversityContracts.BuisnessLogicContracts
|
||||
{
|
||||
public interface IStatementLogic
|
||||
{
|
||||
List<StatementViewModel>? ReadList(StatementSearchModel? model);
|
||||
StatementViewModel? ReadElement(StatementSearchModel model);
|
||||
bool Create(StatementBindingModel model);
|
||||
bool Update(StatementBindingModel model);
|
||||
bool Delete(StatementBindingModel model);
|
||||
}
|
||||
}
|
||||
|
@ -1,8 +1,15 @@
|
||||
using UniversityDataModels.Models;
|
||||
using UniversityContracts.BindingModels;
|
||||
using UniversityContracts.SearchModels;
|
||||
using UniversityContracts.ViewModels;
|
||||
|
||||
namespace UniversityContracts.BuisnessLogicContracts
|
||||
{
|
||||
public interface IStudentLogic
|
||||
{
|
||||
List<StudentViewModel>? ReadList(StudentSearchModel? model);
|
||||
StudentViewModel? ReadElement(StudentSearchModel model);
|
||||
bool Create(StudentBindingModel model);
|
||||
bool Update(StudentBindingModel model);
|
||||
bool Delete(StudentBindingModel model);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user