22 lines
666 B
C#
22 lines
666 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 IProjectStorage
|
|
{
|
|
List<ProjectViewModel> GetFullList();
|
|
List<ProjectViewModel> GetFilteredList(ProjectSearchModel model);
|
|
ProjectViewModel? GetElement(ProjectSearchModel model);
|
|
ProjectViewModel? Insert(ProjectBindingModel model);
|
|
ProjectViewModel? Update(ProjectBindingModel model);
|
|
ProjectViewModel? Delete(ProjectBindingModel model);
|
|
}
|
|
}
|