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