Beispiel #1
0
 //
 // POST: /SysAdmin/Student/Delete/5
 //[HttpPost]
 public ActionResult Delete(int id)
 {
     try
     {
         // TODO: Add delete logic here
         StudentAddressBAL balObject = new StudentAddressBAL();
         balObject.Delete(id);
         return(RedirectToAction("Index"));
     }
     catch
     {
         return(View());
     }
 }