PIAPS_CW/Contracts/BusinessLogicContracts/IUserLogic.cs

24 lines
556 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
{
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
}
}