public async Task <string> Index(string productBrandId, string searchingKey)
        {
            LoginComponent             sessionModel;
            SearchProductsViewModel    searchProductsViewModel = new SearchProductsViewModel();
            ConstructProductsAllBrands constructProducts       = new ConstructProductsAllBrands(ProductRepository);

            sessionModel = await GetUserLoginSession();

            searchProductsViewModel = await constructProducts.GetProductsSingleBrand(ConstructorParamQueryString.ParamQueryString (productBrandId, searchingKey).Result, sessionModel);

            return(GenerateProductsModelAsStringJson(searchProductsViewModel));
        }
        public async Task <string> ProductListDataModelAsString(string productBrandId, string searchingKey)
        {
            LoginComponent             sessionModel;
            SearchProductsViewModel    searchProductsViewModel = new SearchProductsViewModel();
            ConstructProductsAllBrands constructProducts       = new ConstructProductsAllBrands(ProductRepository);

            sessionModel = await GetUserLoginSession();

            searchProductsViewModel = await constructProducts.GetProductsSingleBrand(ConstructorParamQueryString.ParamQueryString (productBrandId, searchingKey).Result, sessionModel);

            string result = JsonConvert.SerializeObject(new ProductListPresentationModel().MapList(searchProductsViewModel.data));

            return(result);
        }