Ejemplo n.º 1
0
 public async Task <DinazorResult> Delete(long id)
 {
     if (id == DinazorConstant.SuperUserId)
     {
         var result = new DinazorResult();
         result.Status = ResultStatus.Unauthorized;
         return(result);
     }
     return(await _userOperation.Delete(id));
 }