public AcumaticaReferenceDataState GetAcumaticaReferenceDataStatus() { var state = _stateRepository.RetrieveSystemStateNoTracking(); var referenceData = _combinedRefDataService.RetrieveRefData(); var model = new AcumaticaReferenceDataState() { IsRandomAccessMode = state.IsRandomAccessMode, ReferenceDataState = state.AcumaticaRefDataState, Validations = referenceData.Validation, }; return(model); }
public ActionResult AcumaticaReferenceData() { var data = _combinedRefDataService.RetrieveRefData(); return(new JsonNetResult(data)); }