Task_Tracker_SUBD/TaskTrackerRestAPI/TaskTrackerContracts/StoragesContracts/ITaskAssigmentStorage.cs
2023-05-17 10:48:52 +04:00

23 lines
813 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 ITaskAssigmentStorage
{
List<TaskAssigmentViewModel> GetFullList();
List<TaskAssigmentViewModel> GetFilteredList(TaskAssigmentSearchModel model);
List<TaskViewModel> GetFilteredAssigmentList(EmployeeSearchModel model);
TaskAssigmentViewModel? GetElement(TaskAssigmentSearchModel model);
TaskAssigmentViewModel? Insert(TaskAssigmentBindingModel model);
TaskAssigmentViewModel? Update(TaskAssigmentBindingModel model);
TaskAssigmentViewModel? Delete(TaskAssigmentBindingModel model);
}
}