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