UserService Delete metódusai + controller
This commit is contained in:
@@ -372,6 +372,10 @@ namespace WorkFlowCheck.BL.Services
|
||||
}
|
||||
return retVal;
|
||||
}
|
||||
public async Task<bool> DeleteUserRoleAsync(int id)
|
||||
{
|
||||
return await DeleteEntityByIdAsync<UserRole>(id);
|
||||
}
|
||||
public async Task<UserRoleDTO> UpdateUserRoleAsync(UserRoleDTO userRoleDTO)
|
||||
{
|
||||
var retVal = new UserRoleDTO();
|
||||
@@ -449,6 +453,10 @@ namespace WorkFlowCheck.BL.Services
|
||||
}
|
||||
return retVal;
|
||||
}
|
||||
public async Task<bool> DeleteRoleCheckListTemplateHeaderAsync(int id)
|
||||
{
|
||||
return await DeleteEntityByIdAsync<RoleCheckListTemplateHeader>(id);
|
||||
}
|
||||
public async Task<RoleCheckListTemplateHeaderDTO> UpdateRoleCheckListTemplateHeaderAsync(RoleCheckListTemplateHeaderDTO roleCheckListTemplateHeaderDTO)
|
||||
{
|
||||
var retVal = new RoleCheckListTemplateHeaderDTO();
|
||||
@@ -539,6 +547,10 @@ namespace WorkFlowCheck.BL.Services
|
||||
}
|
||||
return retVal;
|
||||
}
|
||||
public async Task<bool> DeleteRoleCheckPointAsync(int id)
|
||||
{
|
||||
return await DeleteEntityByIdAsync<RoleCheckPoint>(id);
|
||||
}
|
||||
public async Task<RoleCheckPointDTO> UpdateRoleCheckPointAsync(RoleCheckPointDTO roleCheckPointDTO)
|
||||
{
|
||||
var retVal = new RoleCheckPointDTO();
|
||||
|
||||
Reference in New Issue
Block a user