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