Пример #1
0
        public ActionResult Delete(QuestionViewModel model)
        {
            ResponseResult result = QuestionRepo.Delete(model);

            return(Json(new
            {
                success = result.Success,
                message = result.ErrorMessage,
                entity = result.Entity
            }, JsonRequestBehavior.AllowGet));
        }