public JsonResult UpdateCategoryBox(string galleryId, int categoryId) { _categoriesSliderService.AddCategory(new CategoriesSlidersDTO() { GalleryId = galleryId, CategoryId = categoryId }); return(Json(true)); }