SUBD_SportCompetitions/SportCompetitionsContracts/StoragesContracts/IResultStorage.cs

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