22 lines
604 B
C#
22 lines
604 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 IRecordLogic
|
|
{
|
|
List<RecordViewModel>? ReadList(RecordSearchModel? model);
|
|
RecordViewModel? ReadElement(RecordSearchModel model);
|
|
|
|
bool Create(RecordBindingModel model);
|
|
bool Update(RecordBindingModel model);
|
|
bool Delete(RecordBindingModel model);
|
|
}
|
|
}
|