Ejemplo n.º 1
0
        public ActionResult Cancel(BatchTestViewModel model)
        {
            ResponseResult result = BatchRepo.Cancel(model);

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