public async Task <IEnumerable <ProgramViewModel> > GetVehiclePrograms(int vehicleId, int garageId) { var vehicleProgram = await _vehicleFactory.GetVehiclePrograms(vehicleId); return(FlagSelectedPrograms(await _programService.GetPrograms(garageId), vehicleProgram.Adapt <IEnumerable <VehicleProgramViewModel> >())); }