fix logic contracts
This commit is contained in:
parent
23d3ba8885
commit
9c7ada2260
@ -11,14 +11,14 @@ namespace Contracts.BusinessLogicContracts
|
||||
{
|
||||
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);
|
||||
|
||||
RoleViewModel? Delete(RoleSearchModel model);
|
||||
RoleViewModel Delete(RoleSearchModel model);
|
||||
}
|
||||
}
|
@ -11,14 +11,14 @@ namespace Contracts.BusinessLogicContracts
|
||||
{
|
||||
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);
|
||||
|
||||
UserViewModel? Delete(UserSearchModel model);
|
||||
UserViewModel Delete(UserSearchModel model);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user