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