PIAPS_CW/Contracts/BusinessLogicContracts/IUserLogic.cs

24 lines
560 B
C#
Raw Normal View History

2024-06-04 23:44:36 +04:00
using Contracts.BindingModels;
using Contracts.SearchModels;
using Contracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Contracts.BusinessLogicContracts
{
public interface IUserLogic
{
UserViewModel? Create(UserBindingModel model);
UserViewModel? Update(UserBindingModel model);
UserViewModel? ReadElement(UserSearchModel model);
IEnumerable<UserViewModel> ReadElements(UserSearchModel? model);
UserViewModel? Delete(UserSearchModel model);
}
}