Esempio n. 1
0
        public async Task <IActionResult> GetDefaults()
        {
            var servicesForNameSearchSelections = _serviceValues.Value.Where(v => !v.id.Equals(0));

            return(Ok(new
            {
                Services = servicesForNameSearchSelections,
                ReasonForSearch = _reasonsValues.Value,
                Designations = _designationValues.Value,
                SortingOffices = await _valueService.GetSortingOfficesAsync()
            }));
        }