示例#1
0
 public TicketController(ITicketService ticketService, IEmployeeService employeeService, IAspNetUserService aspNetUserService, ITicketTypeService ticketTypeService)
 {
     this.ticketService     = ticketService;
     this.employeeService   = employeeService;
     this.aspNetUserService = aspNetUserService;
     this.ticketTypeService = ticketTypeService;
 }
示例#2
0
 public AttendanceController(IAttendanceService attendanceService, IEmployeeService employeeService, ITicketService ticketService, IAspNetUserService aspNetUserService)
 {
     this.attendanceService = attendanceService;
     this.employeeService   = employeeService;
     this.ticketService     = ticketService;
     this.aspNetUserService = aspNetUserService;
 }
示例#3
0
     public CarSellerController(
     IAspNetUserService aspNetUserService,
     IBodyTypeService bodyTypeService,
     ICarSellerTypeService carSellerTypeService,
     ICarSellingOnService carSellingOnService,
     ICarSellerInfoService carSellerInfoService,
     ICarModelService carModelService,
     IMakeService makeService,
     ITransmissionTypeService transmissionTypeService,
     IFuelTypeService fuelTypeService,
     ICarSellerVehicleInfoService carSellerVehicleInfoService,
     ICarSellerMoreDetailService carSellerMoreDetailService,
     ICarSellerVehicleImagesService carSellerVehicleImagesService,
         ICarSellerVehicleFuelTypeService carSellerVehicleFuelTypeService,
         IEngineSizeService engineSizeService
 )
     {
         _aspNetUserService = aspNetUserService;
         _carSellerTypeService = carSellerTypeService;
         _carSellingOnService = carSellingOnService;
         _bodyTypeService = bodyTypeService;
         _carModelService = carModelService;
         _makeService = makeService;
         _transmissionTypeService = transmissionTypeService;
         _fuelTypeService = fuelTypeService;
         _carSellerVehicleInfoService = carSellerVehicleInfoService;
         _carSellerMoreDetailService = carSellerMoreDetailService;
         _carSellerVehicleImagesService = carSellerVehicleImagesService;
         _carSellerInfoService = carSellerInfoService;
         _carSellerVehicleFuelTypeService = carSellerVehicleFuelTypeService;
         _engineSizeService = engineSizeService;
     }
 public AuctionHouseAddEditVehicleController(
     IAuctionHouseService auctionHouseService,
     IAspNetUserService aspNetUserService,
     IBodyTypeService bodyTypeService,
     ICarModelService carModelService,
     IMakeService makeService,
     ITransmissionTypeService transmissionTypeService,
     IFuelTypeService fuelTypeService,
     IEngineSizeService engineSizeService,
     IAuctionHouseAddEditVehicleService auctionHouseAddEditVehicleService,
     IAuctionHouseCarSellingVehicleImagesService auctionHouseCarSellingVehicleImagesService,
      IAuctionHouseSaleService auctionHouseSaleService,
     IAuctionHouseCarSellingVehicleImagesMoreService auctionHouseCarSellingVehicleImagesMoreService,
     IInteriorTrimService interiorTrimService,
     IServiceHistoryAuctionService serviceHistoryAuctionService,
      ICheckStatusService checkStatusService
     )
 {
     _auctionHouseService = auctionHouseService;
     _aspNetUserService = aspNetUserService;
     _bodyTypeService = bodyTypeService;
     _carModelService = carModelService;
     _makeService = makeService;
     _transmissionTypeService = transmissionTypeService;
     _fuelTypeService = fuelTypeService;
     _engineSizeService = engineSizeService;
     _auctionHouseAddEditVehicleService = auctionHouseAddEditVehicleService;
     _auctionHouseCarSellingVehicleImagesService = auctionHouseCarSellingVehicleImagesService;
     _auctionHouseSaleService = auctionHouseSaleService;
     _auctionHouseCarSellingVehicleImagesMoreService = auctionHouseCarSellingVehicleImagesMoreService;
     _interiorTrimService = interiorTrimService;
     _serviceHistoryAuctionService = serviceHistoryAuctionService;
     _checkStatusService = checkStatusService;
 }
示例#5
0
 public AccountController(IEmailTemplateService emailTemplateService,
                          IAspNetUserService aspNetUserService,
                          ICountryService countryService)
 {
     _emailTemplateService = emailTemplateService;
     _AspNetUserService    = aspNetUserService;
     _CountryService       = countryService;
 }
示例#6
0
 public TestController(SignInManager <ApplicationUser> signInManager,
                       UserManager <ApplicationUser> userManager,
                       IAspNetUserService aspNetUserService)
 {
     _signInManager     = signInManager;
     _userManager       = userManager;
     _aspNetUserService = aspNetUserService;
 }
示例#7
0
 public AccessController(ISPService spService, IReportInformationService reportInformationService, IReportAccessService reportAccessService,
                         IAspNetUserService aspNetUserService, ISecurityService securityService)
 {
     this.spService = spService;
     this.reportInformationService = reportInformationService;
     this.reportAccessService      = reportAccessService;
     this.aspNetUserService        = aspNetUserService;
     this.securityService          = securityService;
 }
 public AuctionHouseSalesController(
     IAspNetUserService aspNetUserService,
     IAuctionHouseSaleService auctionHouseSaleService,
     IAuctionHouseService auctionHouseService
     )
 {
     _aspNetUserService = aspNetUserService;
     _auctionHouseSaleService = auctionHouseSaleService;
     _auctionHouseService = auctionHouseService;
 }
        public ListingController(
            IUnitOfWorkAsync unitOfWorkAsync,
            ISettingService settingService,
            ICategoryService categoryService,
            ICategoryListingTypeService categoryListingTypeService,
            IListingService listingService,
            IListingTypeService listingTypeService,
            ICustomFieldService customFieldService,
            ICustomFieldCategoryService customFieldCategoryService,
            ICustomFieldListingService customFieldListingService,
            IContentPageService contentPageService,
            IOrderService orderService,
            IDetailBedService detailBedService,
            ITypeOfBedService typeOfBedService,
            ISettingDictionaryService settingDictionaryService,
            IEmailTemplateService emailTemplateService,
            IPictureService pictureService,
            IListingPictureService listingPictureservice,
            IListingReviewService listingReviewService,
            DataCacheService dataCacheService,
            SqlDbService sqlDbService,
            AspNetUserService aspNetUserService,
            IListingObservationService listingObservationService)
        {
            _settingService           = settingService;
            _settingDictionaryService = settingDictionaryService;

            _categoryService            = categoryService;
            _categoryListingTypeService = categoryListingTypeService;

            _listingService     = listingService;
            _listingTypeService = listingTypeService;

            _pictureService = pictureService;

            _listingPictureservice = listingPictureservice;
            _listingReviewService  = listingReviewService;

            _customFieldService         = customFieldService;
            _customFieldCategoryService = customFieldCategoryService;
            _customFieldListingService  = customFieldListingService;

            _orderService = orderService;

            _emailTemplateService      = emailTemplateService;
            _contentPageService        = contentPageService;
            _unitOfWorkAsync           = unitOfWorkAsync;
            _dataCacheService          = dataCacheService;
            _detailBedService          = detailBedService;
            _typeOfBedService          = typeOfBedService;
            _sqlDbService              = sqlDbService;
            _aspNetUserService         = aspNetUserService;
            _listingObservationService = listingObservationService;
        }
示例#10
0
        //public List<ManageServicesView> items;
        //ArrayList list = new ArrayList();



        public manageServicesController(IAspNetUserService aspnetuserService, IRoleService roleService, IUserRoleService userroleService, IUserMenuService usermenuService, IProfileService profileService, IGuidelineService currentService)
        {
            _userService      = aspnetuserService;
            _roleService      = roleService;
            _userroleService  = userroleService;
            _usermenuService  = usermenuService;
            _profileService   = profileService;
            _currentService   = currentService;
            portalTempleteUrl = System.Configuration.ConfigurationManager.AppSettings["portalUrl"];
            this.UserID       = getUserId();
            this.StrUserID    = UserID.ToString();
        }
示例#11
0
        public PaymentController(
            IUnitOfWorkAsync unitOfWorkAsync,
            ISettingService settingService,
            ICategoryService categoryService,
            IListingService listingService,
            IPictureService pictureService,
            IListingPictureService ListingPictureservice,
            IOrderService orderService,
            ICustomFieldService customFieldService,
            ICustomFieldCategoryService customFieldCategoryService,
            ICustomFieldListingService customFieldListingService,
            ISettingDictionaryService settingDictionaryService,
            IListingStatService listingStatservice,
            IListingReviewService listingReviewService,
            DataCacheService dataCacheService,
            SqlDbService sqlDbService,
            IEmailTemplateService emailTemplateService,
            IPluginFinder pluginFinder,
            IAspNetUserService aspNetUserService,
            IAspNetRoleService aspNetRoleService,
            IDetailBedService detailBedService,
            IListingPriceService listingPriceService)
        {
            _settingService           = settingService;
            _settingDictionaryService = settingDictionaryService;

            _categoryService = categoryService;

            _listingService        = listingService;
            _pictureService        = pictureService;
            _listingPictureservice = ListingPictureservice;
            _listingStatservice    = listingStatservice;
            _listingReviewService  = listingReviewService;
            _detailBedService      = detailBedService;

            _orderService               = orderService;
            _customFieldService         = customFieldService;
            _customFieldCategoryService = customFieldCategoryService;
            _customFieldListingService  = customFieldListingService;
            _aspNetUserService          = aspNetUserService;
            _aspNetRoleService          = aspNetRoleService;

            _dataCacheService = dataCacheService;
            _sqlDbService     = sqlDbService;

            _pluginFinder = pluginFinder;

            _unitOfWorkAsync      = unitOfWorkAsync;
            _emailTemplateService = emailTemplateService;
            _listingPriceService  = listingPriceService;
        }
示例#12
0
 public BuyerController(ICarBuyerInfoService buyerService,
     ICarSellerVehicleInfoService carsellervehicleinfoService,
     ICarSellerVehicleImagesService carsellervehicleimageService, IAspNetUserService aspNetUserService, ICarSellerInfoService carsellerinfoService, ISellerPersonalInfoService sellerPersonalInfoService, IAuctionHouseService auctionHouseService, IAuctionHouseSaleService auctionHouseSaleService, IAuctionHouseAddEditVehicleService auctionHouseAddEditVehicleService, ICarSellerVehicleFuelTypeService carSellerVehicleFuelTypeService, IAuctionHouseCarSellingVehicleImagesService auctionHouseCarSellingVehicleImagesService)
 {
     _buyerService = buyerService;
     _carsellervehicleinfoService = carsellervehicleinfoService;
     _carsellervehicleimageService = carsellervehicleimageService;
     _aspNetUserService = aspNetUserService;
     _carsellerinfoService = carsellerinfoService;
     _sellerPersonalInfoService = sellerPersonalInfoService;
     _auctionHouseService = auctionHouseService;
     _auctionHouseSaleService = auctionHouseSaleService;
     _auctionHouseAddEditVehicleService = auctionHouseAddEditVehicleService;
     _carSellerVehicleFuelTypeService = carSellerVehicleFuelTypeService;
     _auctionHouseCarSellingVehicleImagesService = auctionHouseCarSellingVehicleImagesService;
 }
 public AuctionHouseUpcomingSalesController(
      IAuctionHouseAddEditVehicleService auctionHouseAddEditVehicleService,
      IAuctionHouseSaleService auctionHouseSaleService,
      IAuctionHouseService auctionHouseService,
      IMakeService makeService,
      ICarModelService carModelService,
     IAspNetUserService aspNetUserService
      )
 {
     _auctionHouseAddEditVehicleService = auctionHouseAddEditVehicleService;
     _auctionHouseSaleService = auctionHouseSaleService;
     _auctionHouseService = auctionHouseService;
     _makeService = makeService;
     _carModelService = carModelService;
     _aspNetUserService = aspNetUserService;
 }
示例#14
0
 public AccountController(UserManager <ApplicationUser> userManager, ILogger loggger
                          , IOfficeExecutiveService officeExecutiveService, IAspNetRoleService roleService
                          , IAspNetUserService aspNetUserService, IUserInfoSPService userInfoSPService
                          , ISecurityService securityService, ISPService sPService
                          , IOrganizationService organizationService, IGroupSetupService groupSetupService)
 {
     this.userManager            = userManager;
     this.loggger                = loggger;
     this.officeExecutiveService = officeExecutiveService;
     this.roleService            = roleService;
     this.aspNetUserService      = aspNetUserService;
     this.userInfoSPService      = userInfoSPService;
     this.securityService        = securityService;
     this.sPService              = sPService;
     this.organizationService    = organizationService;
     this.groupSetupService      = groupSetupService;
 }
        public JsonResult CheckBrandIdIsUsed(int id)
        {
            bool check = false;

            try
            {
                IAspNetUserService userService = DependencyUtils.Resolve <IAspNetUserService>();
                var user = userService
                           .Get(a => a.BrandID == id)
                           .FirstOrDefault();
                if (user != null)
                {
                    check = true;
                }
                return(Json(new
                {
                    isUsing = check
                }, JsonRequestBehavior.AllowGet));
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
示例#16
0
        public ActionResult Index()
        {
            var user = System.Web.HttpContext.Current.User;

            ViewBag.Title       = "Digital Signage System";
            ViewBag.FullName    = user.Identity.Name;
            Session["username"] = user.Identity.Name;
            Session["userID"]   = user.Identity.GetUserId(); //GetUserId() only can be used when using Microsoft.AspNet.Identity;

            //Get Size Account
            IAspNetUserService aspNetUserService = DependencyUtils.Resolve <IAspNetUserService>();
            var users       = Helper.GetCurrentUser();
            var accountList = aspNetUserService.GetAccountsByBrandId(users.BrandID);
            var size        = accountList.Count;

            ViewBag.accountList = size;

            //ScreenList
            IScreenService screenSevice = DependencyUtils.Resolve <IScreenService>();
            var            screenList   = screenSevice.GetScreenIdByBrandId(users.BrandID);
            var            screenSize   = screenList.Count;

            ViewBag.screenList = screenSize;

            //BoxList
            IBoxService boxService = DependencyUtils.Resolve <IBoxService>();
            var         boxList    = boxService.GetBoxIdByBrandId(users.BrandID);
            var         boxSize    = boxList.Count;

            ViewBag.boxList = boxSize;

            //DeviceList
            IDeviceService deviceService = DependencyUtils.Resolve <IDeviceService>();
            var            deviceList    = deviceService.GetDeviceByBrandId(users.BrandID);
            var            deviceSize    = deviceList.Count;

            ViewBag.deviceList = deviceSize;

            //LocationList
            ILocationService locationService = DependencyUtils.Resolve <ILocationService>();
            var locationList = locationService.GetLocationIdByBrandId(users.BrandID);
            var locationSize = locationList.Count;

            ViewBag.locationList = locationSize;

            //MediaSrcList
            IMediaSrcService mediaSrcService = DependencyUtils.Resolve <IMediaSrcService>();
            var mediasrcList = mediaSrcService.GetMediaSrcByBrand(users.BrandID);
            var mediasrcSize = mediasrcList.Count;

            ViewBag.mediarsList = mediasrcSize;

            //PlaylistList
            IPlaylistService playlistService = DependencyUtils.Resolve <IPlaylistService>();
            var playlistList = playlistService.GetPlaylistIdByBrandId(users.BrandID);
            var playlistSize = playlistList.Count;

            ViewBag.playlistList = playlistSize;


            //ScenarioList
            IScenarioService scenarioService = DependencyUtils.Resolve <IScenarioService>();
            var scenarioList = scenarioService.GetScenarioIdByBrandId(users.BrandID);
            var scenarioSize = scenarioList.Count;

            ViewBag.scenarioList = scenarioSize;

            //ScheduleList
            IScheduleService scheduleService = DependencyUtils.Resolve <IScheduleService>();
            var scheduleList = scheduleService.GetScheduleIdByBrandId(users.BrandID);
            var scheduleSize = scheduleList.Count;

            ViewBag.scheduleList = scheduleSize;
            return(View());
        }
 public TypeOfCuisineController(ILanguageService languageService, IAspNetUserService aspNetUserService) : base(languageService, aspNetUserService)
 {
 }
示例#18
0
 public CommentController(ILanguageService languageService, IAspNetUserService aspNetUserService) : base(languageService, aspNetUserService)
 {
 }
 public RestaurantController(IRestaurantService restaurantService, ILanguageService languageService, IAspNetUserService aspNetUserService) : base(languageService, aspNetUserService)
 {
     _restaurantService = restaurantService;
 }
示例#20
0
 public AccountController(IAspNetUserService aspNetUserService)
 {
     this.AspNetUserService = aspNetUserService;
 }
 public PromotionController(ILanguageService languageService, IAspNetUserService aspNetUserService) : base(languageService, aspNetUserService)
 {
 }
示例#22
0
 public CategoryController(ILanguageService languageService, IAspNetUserService aspNetUserService, ICategoryService categoryService) : base(languageService, aspNetUserService)
 {
     _categoryService = categoryService;
     _languageService = languageService;
 }
 public BaseController(ILanguageService languageService, IAspNetUserService aspNetUserService)
 {
     _languageService   = languageService;
     _aspNetUserService = aspNetUserService;
 }
示例#24
0
 public AccountController(ILanguageService languageService, IAspNetUserService aspNetUserService) : base(languageService, aspNetUserService)
 {
     _aspNetUserService = aspNetUserService;
     context            = new ApplicationDbContext();
 }
 public EmailTemplateController(ILanguageService languageService, IAspNetUserService aspNetUserService) : base(languageService, aspNetUserService)
 {
 }
 public AccountController(IAspNetUserService aspNetUserService)
 {
     this.AspNetUserService = aspNetUserService;
 }
示例#27
0
 public HomeController(IAspNetUserService userService)
 {
     _userService = userService;
 }
 public AdminController(ILanguageService languageService, IAspNetUserService aspNetUserService) : base(languageService, aspNetUserService)
 {
 }