22 lines
595 B
C#
22 lines
595 B
C#
|
using CarShowroomDataModels.Dtos;
|
|||
|
using CarShowroomDataModels.SearchModel;
|
|||
|
using CarShowroomDataModels.Views;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace CarShowroomContracts.StorageContracts
|
|||
|
{
|
|||
|
public interface ISaleStorage
|
|||
|
{
|
|||
|
List<SaleView> GetFullList();
|
|||
|
List<SaleView> GetFilteredList(SaleSearch model);
|
|||
|
SaleView? GetElement(SaleSearch model);
|
|||
|
SaleView? Insert(SaleDto model);
|
|||
|
SaleView? Update(SaleDto model);
|
|||
|
SaleView? Delete(SaleDto model);
|
|||
|
}
|
|||
|
}
|