SUBD_SportCompetitions/SportCompetitionsContracts/BusinessLogicsContracts/ICompetitionLogic.cs

22 lines
644 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.BusinessLogicsContracts
{
public interface ICompetitionLogic
{
List<CompetitionViewModel>? ReadList(CompetitionSearchModel? model);
CompetitionViewModel? ReadElement(CompetitionSearchModel model);
bool Create(CompetitionBindingModel model);
bool Update(CompetitionBindingModel model);
bool Delete(CompetitionBindingModel model);
}
}