示例#1
0
        public void Delete(string id)
        {
            JsonMethods rep = new JsonMethods();

            rep.RemoveAccount(Guid.Parse(id));
        }
示例#2
0
 public ActionResult Delete(string id)
 {
     JsonRepository.JsonMethods rep = new JsonMethods();
     rep.RemoveAccount(Guid.Parse(id));
     return(RedirectToAction("Index"));
 }