public async Task <IActionResult> GetFilterOptions() { var applicationFilter = await _taskItemService.GetFilterOptionsAsync(); var viewModel = _mapper.Map <TaskItemsParameters>(applicationFilter); return(Ok(viewModel)); }