Exemplo n.º 1
0
        public ActionResult MarkAsDone(AssignmentViewModel model)
        {
            ResponResultViewModel result = AssignmentRepo.CreateDone(model);

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