SUBD_SportCompetitions/SportCompetitionsContracts/StoragesContracts/IResultStorage.cs

23 lines
679 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 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);
}
}