22 lines
691 B
C#
22 lines
691 B
C#
|
using SchoolAgainStudyContracts.BindingModel;
|
|||
|
using SchoolAgainStudyContracts.SearchModel;
|
|||
|
using SchoolAgainStudyContracts.ViewModel;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace SchoolAgainStudyContracts.StorageContracts
|
|||
|
{
|
|||
|
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);
|
|||
|
}
|
|||
|
}
|