Example #1
0
        public JsonResult Delete(int id)
        {
            CreationYear creationYear = myService.GetById(id);

            myService.Delete(creationYear);
            myService.Commit();
            return(Json("success", JsonRequestBehavior.AllowGet));
        }