base logic #5
@ -11,14 +11,14 @@ namespace Contracts.BusinessLogicContracts
|
|||||||
{
|
{
|
||||||
public interface IRoleLogic
|
public interface IRoleLogic
|
||||||
{
|
{
|
||||||
RoleViewModel? Create(RoleBindingModel model);
|
RoleViewModel Create(RoleBindingModel model);
|
||||||
|
|
||||||
RoleViewModel? Update(RoleBindingModel model);
|
RoleViewModel Update(RoleBindingModel model);
|
||||||
|
|
||||||
RoleViewModel? ReadElement(RoleSearchModel model);
|
RoleViewModel ReadElement(RoleSearchModel model);
|
||||||
|
|
||||||
IEnumerable<RoleViewModel> ReadElements(RoleSearchModel? model);
|
IEnumerable<RoleViewModel> ReadElements(RoleSearchModel? model);
|
||||||
|
|
||||||
RoleViewModel? Delete(RoleSearchModel model);
|
RoleViewModel Delete(RoleSearchModel model);
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -11,14 +11,14 @@ namespace Contracts.BusinessLogicContracts
|
|||||||
{
|
{
|
||||||
public interface IUserLogic
|
public interface IUserLogic
|
||||||
{
|
{
|
||||||
UserViewModel? Create(UserBindingModel model);
|
UserViewModel Create(UserBindingModel model);
|
||||||
|
|
||||||
UserViewModel? Update(UserBindingModel model);
|
UserViewModel Update(UserBindingModel model);
|
||||||
|
|
||||||
UserViewModel? ReadElement(UserSearchModel model);
|
UserViewModel ReadElement(UserSearchModel model);
|
||||||
|
|
||||||
IEnumerable<UserViewModel> ReadElements(UserSearchModel? model);
|
IEnumerable<UserViewModel> ReadElements(UserSearchModel? model);
|
||||||
|
|
||||||
UserViewModel? Delete(UserSearchModel model);
|
UserViewModel Delete(UserSearchModel model);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user