// GET: Categories
 public IActionResult Index()
 {
     if (ModelState.IsValid)
     {
         var model = new UserStoreCategoryModel();
         model.Categories = _localService.GetCategories();
         model.Stores     = _storeService.GetBoughtStores().Where(us => us.is_confirmed && !string.IsNullOrEmpty(us.api_key) && !string.IsNullOrEmpty(us.secret_key));
         return(View(model));
     }
     return(View());
 }