26 lines
604 B
C#
26 lines
604 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 Login(UserBindingModel model);
|
|
|
|
UserViewModel Create(UserBindingModel model);
|
|
|
|
UserViewModel Update(UserBindingModel model);
|
|
|
|
UserViewModel ReadElement(UserSearchModel model);
|
|
|
|
IEnumerable<UserViewModel> ReadElements(UserSearchModel? model);
|
|
|
|
UserViewModel Delete(UserSearchModel model);
|
|
}
|
|
} |