25 lines
595 B
C#
25 lines
595 B
C#
|
using Contracts.BindingModels;
|
|||
|
using Contracts.SearchModels;
|
|||
|
using Contracts.ViewModels;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace Contracts.BusinessLogicContracts
|
|||
|
{
|
|||
|
public interface ICartItemLogic
|
|||
|
{
|
|||
|
bool Create(CartItemBindingModel model);
|
|||
|
|
|||
|
bool Update(CartItemBindingModel model);
|
|||
|
|
|||
|
CartItemViewModel ReadElement(CartItemSearchModel model);
|
|||
|
|
|||
|
List<CartItemViewModel> ReadElements(CartItemSearchModel? model);
|
|||
|
|
|||
|
bool Delete(CartItemBindingModel model);
|
|||
|
}
|
|||
|
}
|