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