示例#1
0
        private static void SetUpContainers()
        {
            ConsoleSetup.Initialize();

            _serviceSql = ConsoleSetup.Container.Resolve <ISqlVacationService>();

            _serviceApi = ConsoleSetup.Container.Resolve <IApiVacationService>();
        }
示例#2
0
 public VacationViewModel(IApiVacationService vacationService)
 {
     _vacationService = vacationService;
 }
示例#3
0
 public DetailViewModel(IApiVacationService vacationService)
 {
     _vacationService = vacationService;
 }