ISEbd-22_CourseWork_School/School/SchoolContracts/BusinessLogicContracts/IDisciplineLogic.cs

17 lines
519 B
C#

using SchoolContracts.BindingModels;
using SchoolContracts.SearchModels;
using SchoolContracts.ViewModels;
namespace SchoolContracts.BusinessLogicContracts
{
public interface IDisciplineLogic
{
List<DisciplineViewModel> ReadList(DisciplineSearchModel? model = null);
DisciplineViewModel ReadElement(DisciplineSearchModel model);
bool Create(DisciplineBindingModel model);
bool Update(DisciplineBindingModel model);
bool Delete(DisciplineBindingModel model);
}
}