21 lines
594 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 ISaleLogic
{
List<SaleViewModel>? ReadList(SaleSearchModel? model);
SaleViewModel? ReadElement(SaleSearchModel model);
bool Create(SaleBindingModel model);
bool Update(SaleBindingModel model);
bool Delete(SaleBindingModel model);
}
}