Esempio n. 1
0
        public ActionResult Choose(BatchTestViewModel model)
        {
            ResponseResult result = BatchRepo.Choose(model);

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