SUBD_SportCompetitions/SportCompetitionsContracts/StoragesContracts/IMemberStorage.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 IMemberStorage
{
List<MemberViewModel> GetFullList();
List<MemberViewModel> GetFilteredList(MemberSearchModel model);
MemberViewModel? GetElement(MemberSearchModel model);
MemberViewModel? Insert(MemberBindingModel model);
MemberViewModel? Update(MemberBindingModel model);
MemberViewModel? Delete(MemberBindingModel model);
}
}