SUBD_SportCompetitions/SportCompetitionsContracts/BusinessLogicsContracts/ICompetitionLogic.cs

22 lines
644 B
C#
Raw Normal View History

2024-04-23 18:37:13 +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.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);
}
}