public IActionResult EditStoreCategory([FromBody] StoreCategory storeCategory)
 {
     if (ModelState.IsValid)
     {
         if (_localService.AddOrUpdateStoreCategory(storeCategory))
         {
             return(Json(new { isValid = true }));
         }
     }
     return(Json(new { isValid = false, html = Helper.RenderRazorViewToString(this, "_EditStoreCategory", storeCategory) }));
 }