public JsonResult GetInventory(string pid)
        {
            dynamic stores = from s in _storesRepository.GetStoresInventory(pid) where s != null select s.GetViewModel();

            JsonResult baseJsonResult = this.Json(stores);

            return(Json(baseJsonResult));
        }