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