22 lines
681 B
C#
22 lines
681 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 IResultStorage
|
|
{
|
|
List<ResultViewModel> GetFullList();
|
|
List<ResultViewModel> GetFilteredList(ResultSearchModel model);
|
|
ResultViewModel? GetElement(ResultSearchModel model);
|
|
ResultViewModel? Insert(ResultBindingModel model);
|
|
ResultViewModel? Update(ResultBindingModel model);
|
|
ResultViewModel? Delete(ResultBindingModel model);
|
|
}
|
|
}
|