base logic #5

Merged
mfnefd merged 25 commits from registration into main 2024-06-10 12:27:55 +04:00
2 changed files with 8 additions and 8 deletions
Showing only changes of commit 9c7ada2260 - Show all commits

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