Esempio n. 1
0
        public ActionResult Delete(int id)
        {
            var Read = ReadService.GetModels(p => p.id == id).FirstOrDefault();

            if (ReadService.Delete(Read))
            {
                return(Redirect("Read"));
            }
            else
            {
                return(Content("no"));
            }
        }