23 lines
731 B
C#
23 lines
731 B
C#
|
using AutomobilePlantContracts.BindingModels;
|
|||
|
using AutomobilePlantContracts.SearchModels;
|
|||
|
using AutomobilePlantContracts.ViewModels;
|
|||
|
using AutomobilePlantDataModels.Models;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace AutomobilePlantContracts.BusinessLogicContracts
|
|||
|
{
|
|||
|
public interface IShopLogic
|
|||
|
{
|
|||
|
ShopViewModel? ReadElement(ShopSearchModel model);
|
|||
|
List<ShopViewModel>? ReadList(ShopSearchModel? model);
|
|||
|
bool Create(ShopBindingModel model);
|
|||
|
bool Update(ShopBindingModel model);
|
|||
|
bool Delete(ShopBindingModel model);
|
|||
|
bool SupplyCars(ShopSearchModel model, ICarModel car, int count);
|
|||
|
}
|
|||
|
}
|