PIAPS_CW/Contracts/BusinessLogicContracts/IUserLogic.cs

24 lines
560 B
C#

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);
}
}