PIbd-21_Danilov_V.V._Course.../VeterinaryClinic/VeterinaryClinicContracts/BusinessLogicsContracts/IAnimalLogic.cs
2024-04-30 23:14:53 +04:00

25 lines
642 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VeterinaryClinicContracts.BindingModels;
using VeterinaryClinicContracts.SearchModels;
using VeterinaryClinicContracts.ViewModels;
namespace VeterinaryClinicContracts.BusinessLogicsContracts
{
public interface IAnimalLogic
{
List<AnimalViewModel>? ReadList(AnimalSearchModel? model);
AnimalViewModel? ReadElement(AnimalSearchModel model);
bool Create(AnimalBindingModel model);
bool Update(AnimalBindingModel model);
bool Delete(AnimalBindingModel model);
}
}