예제 #1
0
 public YachtInformationService(YachtOperatorDbContext dbcontext,
                                ICommonLanguagesRequestServices commonLanguages, IPortalLanguageRequestService portalLanguage) : base(dbcontext)
 {
     _portalLanguageRequestService = portalLanguage;
     _commonLanguageService        = commonLanguages;
     LoadLanguages();
 }
예제 #2
0
 public HotelInformationService(AccommodationContext db, IMapper mapper,
                                IHotelInformationDetailService hotelInformationDetailService, ICommonLanguagesRequestServices commonLanguageService,
                                IPortalLanguageRequestService portalLanguageRequestService) : base(db, mapper)
 {
     _hotelInformationDetailService = hotelInformationDetailService;
     _commonLanguageService         = commonLanguageService;
     _portalLanguageRequestService  = portalLanguageRequestService;
     LoadLanguages();
 }
예제 #3
0
 public WorkContext(IHttpContextAccessor httpContextAccessor,
                    IOptions <Setting> setting,
                    ICommonLanguagesRequestServices commonLanguagesRequestServices,
                    IMultiLanguageService multiLanguageService
                    )
 {
     _httpContextAccessor            = httpContextAccessor;
     _setting                        = setting.Value;
     _commonLanguagesRequestServices = commonLanguagesRequestServices;
     _multiLanguageService           = multiLanguageService;
 }
 public YachtTourInformationServices(YachtOperatorDbContext db, IMapper mapper,
                                     ICommonLanguagesRequestServices commonLanguageService,
                                     IPortalLanguageRequestService portalLanguageRequestService,
                                     ICommonValueRequestService commonValueService)
 {
     _db     = db;
     _mapper = mapper;
     _userId = UserContextHelper.UserId;
     _commonLanguageService        = commonLanguageService;
     _portalLanguageRequestService = portalLanguageRequestService;
     _commonValueService           = commonValueService;
     LoadLanguages();
 }
예제 #5
0
 public YachtOtherInformationService(YachtOperatorDbContext dbcontext,
                                     ICommonLanguagesRequestServices languagesServices) : base(dbcontext)
 {
     _languagesServices = languagesServices;
     LoadLanguages();
 }