private static void SetUpContainers() { ConsoleSetup.Initialize(); _serviceSql = ConsoleSetup.Container.Resolve <ISqlVacationService>(); _serviceApi = ConsoleSetup.Container.Resolve <IApiVacationService>(); }
public VacationViewModel(IApiVacationService vacationService) { _vacationService = vacationService; }
public DetailViewModel(IApiVacationService vacationService) { _vacationService = vacationService; }