22 lines
631 B
C#
22 lines
631 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 IServiceStorage
|
|
{
|
|
List<ServiceView> GetFullList();
|
|
List<ServiceView> GetFilteredList(ServiceSearch model);
|
|
ServiceView? GetElement(ServiceSearch model);
|
|
ServiceView? Insert(ServiceDto model);
|
|
ServiceView? Update(ServiceDto model);
|
|
ServiceView? Delete(ServiceDto model);
|
|
}
|
|
}
|