PIbd-23_Zargarov_M.A._Cours.../CarCenter/CarCenterContracts/BusinessLogicsContracts/IReceiptLogic.cs

21 lines
618 B
C#

using CarCenterContracts.BindingModels;
using CarCenterContracts.SearchModels;
using CarCenterContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarCenterContracts.BusinessLogicsContracts
{
public interface IReceiptLogic
{
List<ReceiptViewModel>? ReadList(ReceiptSearchModel? model);
ReceiptViewModel? ReadElement(ReceiptSearchModel model);
bool Create(ReceiptBindingModel model);
bool Update(ReceiptBindingModel model);
bool Delete(ReceiptBindingModel model);
}
}