public async Task <ActionResult <PermissionTypeDto> > Delete(int permissionTypeId) { await _permissionTypeService.DeletePermissionType(permissionTypeId); return(Ok()); }
public async Task <ActionResult <PermissionTypeDto> > Delete(int permissionTypeId) { var result = await _permissionTypeService.DeletePermissionType(permissionTypeId); return(StatusCode(result.StatusCode, result.HttpResponse)); }