Exemple #1
0
 public Passenger Delete(int id)
 {
     return(_passengerRepository.DeletePassenger(id));
 }
 public bool DeletePassenger(int?Id)
 {
     return(_PassengerRepository.DeletePassenger(Id));
 }
        public ActionResult Delete(int id)
        {
            _passengerRepository.DeletePassenger(id);

            return(RedirectToAction("Index"));
        }
Exemple #4
0
 public string DeletePassenger(int id)
 {
     return(_passengerRepository.DeletePassenger(id));
 }