public ActionResult UpsertCategory([DataSourceRequest] DataSourceRequest request, FaqCategoryViewModel model)
        {
            if (model != null && ModelState.IsValid)
            {
                using (var transaction = ContextManager.NewTransaction())
                {
                    var entity = Mapper.Map <FaqCategory>(model);
                    model.Id = faqService.UpsertFaqCategory(entity);
                    transaction.Commit();
                }
            }

            return(Json(new[] { model }.ToDataSourceResult(request, ModelState)));
        }