public async Task <OptionsViewModel> GetOptions() { var typeOptions = await _somethingTypeRepository.GetAll(); return(new OptionsViewModel { TypeOptions = _mapper.Map <List <IntOption> >(typeOptions), StatusOptions = EnumService.GetIntOptions <SomethingStatus>() }); }