25 lines
642 B
C#
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);
|
|
}
|
|
}
|