PIAPS_CW/Contracts/BusinessLogicContracts/IUserLogic.cs

27 lines
649 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.ComponentModel.DataAnnotations;
2024-06-04 23:44:36 +04:00
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Contracts.BusinessLogicContracts
{
public interface IUserLogic
{
2024-06-13 18:41:59 +04:00
string Login(string email, string password);
2024-06-05 01:22:44 +04:00
UserViewModel Create(UserBindingModel model);
2024-06-04 23:44:36 +04:00
2024-06-05 01:22:44 +04:00
UserViewModel Update(UserBindingModel model);
2024-06-04 23:44:36 +04:00
2024-06-05 01:22:44 +04:00
UserViewModel ReadElement(UserSearchModel model);
2024-06-04 23:44:36 +04:00
IEnumerable<UserViewModel> ReadElements(UserSearchModel? model);
2024-06-05 01:22:44 +04:00
UserViewModel Delete(UserSearchModel model);
2024-06-04 23:44:36 +04:00
}
}