fix logic contracts

This commit is contained in:
mfnefd 2024-06-05 01:22:44 +04:00
parent 23d3ba8885
commit 9c7ada2260
2 changed files with 8 additions and 8 deletions

View File

@ -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);
}
}

View File

@ -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);
}
}