23 lines
739 B
C#
23 lines
739 B
C#
using SportCompetitionsContracts.BindingModels;
|
|
using SportCompetitionsContracts.SearchModels;
|
|
using SportCompetitionsContracts.ViewModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace SportCompetitionsContracts.StoragesContracts
|
|
{
|
|
public interface ICompetitionStorage
|
|
{
|
|
List<CompetitionViewModel> GetFullList();
|
|
List<CompetitionViewModel> GetFilteredList(CompetitionSearchModel model);
|
|
|
|
CompetitionViewModel? GetElement(CompetitionSearchModel model);
|
|
CompetitionViewModel? Insert(CompetitionBindingModel model);
|
|
CompetitionViewModel? Update(CompetitionBindingModel model);
|
|
CompetitionViewModel? Delete(CompetitionBindingModel model);
|
|
}
|
|
}
|