Exemple #1
0
 public Task <Resp> RoleDelete(long rid)
 {
     return(rid <= 0
         ? Task.FromResult(GetInvalidResp())
         : _service.RoleDelete(rid));
 }
Exemple #2
0
 public Task <Resp> RoleDelete(string rid)
 {
     return(string.IsNullOrEmpty(rid)
         ? Task.FromResult(ParaErrorResp)
         : _service.RoleDelete(rid));
 }