示例#1
0
        public async Task <IActionResult> OtherBrandMobile()
        {
            string brandFor            = "mobile";
            MDOtherItemViewModel model = new MDOtherItemViewModel
            {
                otherBrands = await electronicService.GetAllOtherBrand(brandFor),
            };

            return(View(model));
        }
示例#2
0
        public async Task <MDOtherItemInformation> GetOtherBrandInformationMasterData()
        {
            MDOtherItemInformation model = new MDOtherItemInformation
            {
                electronicsTypes     = await electronicService.GetAllElectronicsType(),
                fileDocumentTypes    = await electronicService.GetAllFileDocumentType(),
                mobilePhoneTypes     = await electronicService.GetAllMobilePhoneType(),
                mobileBrands         = await electronicService.GetAllOtherBrand("mobile"),
                watchBrands          = await electronicService.GetAllOtherBrand("watch"),
                shoesBrands          = await electronicService.GetAllOtherBrand("shoes"),
                bagBrands            = await electronicService.GetAllOtherBrand("bag"),
                electronicsBrands    = await electronicService.GetAllOtherBrand("electronics"),
                jwellaryBrands       = await electronicService.GetAllOtherBrand("jwellary"),
                glassBrands          = await electronicService.GetAllOtherBrand("glass"),
                umbrellaBrands       = await electronicService.GetAllOtherBrand("umbrella"),
                operatingSystemTypes = await electronicService.GetAllOperatingSystemType()
            };

            return(model);
        }