22 lines
622 B
C#
22 lines
622 B
C#
using SushiBarContracts.SearchModels;
|
|
using SushiBarContracts.ViewModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace SushiBarContracts.StoragesContracts
|
|
{
|
|
public interface ITaskStorage
|
|
{
|
|
List<TaskViewModel> GetFullList();
|
|
List<TaskViewModel> GetFilteredList(TaskSearchModel model);
|
|
|
|
TaskViewModel? GetElement(TaskSearchModel model);
|
|
TaskViewModel? Insert(TaskSearchModel model);
|
|
TaskViewModel? Update(TaskSearchModel model);
|
|
TaskViewModel? Delete(TaskSearchModel model);
|
|
}
|
|
}
|