Rogashova_E.A._CourseWork_H.../HospitalContracts/BusinessLogicsContracts/IIllnessLogic.cs

21 lines
614 B
C#

using HospitalContracts.BindingModels;
using HospitalContracts.SearchModels;
using HospitalContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HospitalContracts.BusinessLogicsContracts
{
public interface IIllnessLogic
{
List<IllnessViewModel>? ReadList(IllnessSearchModel? model);
IllnessViewModel? ReadElement(IllnessSearchModel model);
bool Create(IllnessBindingModel model);
bool Update(IllnessBindingModel model);
bool Delete(IllnessBindingModel model);
}
}