//Doar angajati sau admini public ActionResult ConfirmAppointment(int id) { try { _appointmentsRepo.ConfirmAppointment(id); } catch (Exception e) { return(HttpNotFound()); } return(RedirectToAction("Index")); }
//Doar angajati sau admini public ActionResult ConfirmAppointment(int id) { try { _appointmentsRepo.ConfirmAppointment(id); } catch (Exception e) { return(HttpNotFound()); } return(RedirectToAction("Index")); }