PIbd-21_CourseWork_Polyclin.../Polyclinic/PolyclinicContracts/BusinessLogicsContracts/ICourseLogic.cs

16 lines
504 B
C#

using PolyclinicContracts.BindingModels;
using PolyclinicContracts.SearchModels;
using PolyclinicContracts.ViewModels;
namespace PolyclinicContracts.BusinessLogicsContracts
{
public interface ICourseLogic
{
List<CourseViewModel> ReadList(CourseSearchModel? model = null);
CourseViewModel? ReadElement(CourseSearchModel model);
bool Create(CourseBindingModel model);
bool Update(CourseBindingModel model);
bool Delete(CourseBindingModel model);
}
}