Coursach/Course/Contracts/StoragesContracts/IWorkshopStorage.cs

17 lines
518 B
C#
Raw Normal View History

2024-04-27 12:35:20 +04:00
using Contracts.BindingModels;
using Contracts.SearchModels;
using Contracts.ViewModels;
namespace Contracts.StoragesContracts
{
public interface IWorkshopStorage
{
List<WorkshopViewModel> GetFullList();
List<WorkshopViewModel> GetFilteredList(WorkshopSearchModel model);
WorkshopViewModel? GetElement(WorkshopSearchModel model);
WorkshopViewModel? Insert(WorkshopBindingModel model);
WorkshopViewModel? Update(WorkshopBindingModel model);
WorkshopViewModel? Delete(WorkshopBindingModel model);
}
}