PIAPS_CW/Contracts/BusinessLogicContracts/IRoleLogic.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 IRoleLogic
{
2024-06-05 01:22:44 +04:00
RoleViewModel Create(RoleBindingModel model);
2024-06-04 23:44:36 +04:00
2024-06-05 01:22:44 +04:00
RoleViewModel Update(RoleBindingModel model);
2024-06-04 23:44:36 +04:00
2024-06-05 01:22:44 +04:00
RoleViewModel ReadElement(RoleSearchModel model);
2024-06-04 23:44:36 +04:00
IEnumerable<RoleViewModel> ReadElements(RoleSearchModel? model);
2024-06-05 01:22:44 +04:00
RoleViewModel Delete(RoleSearchModel model);
2024-06-04 23:44:36 +04:00
}
}