SUBD_SportCompetitions/SportCompetitionsContracts/StoragesContracts/ICompetitionStorage.cs

23 lines
739 B
C#
Raw Normal View History

2024-04-23 18:41:38 +04:00
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);
}
}