public IApiResult AuditPass(IdsArguent arg) { OnAuditPass(); return(IsFailed ? ApiResultHelper.State(GlobalContext.Current.Status.LastState, GlobalContext.Current.Status.LastMessage) : ApiResultHelper.Succees()); }
public IApiResult Validate(IdsArguent arg) { if (!RequestArgumentConvert.TryGetIDs("selects", Convert, out List <TPrimaryKey> ids)) { return(ApiResultHelper.Helper.ArgumentError); } DoValidate(ids); return(IsFailed ? ApiResultHelper.State(GlobalContext.Current.Status.LastState, GlobalContext.Current.Status.LastMessage) : ApiResultHelper.Succees()); }