public ActionResult Salon(int id) { try { salon = btcr.FindSalon(id); if (salon != null) { return(View(salon)); } else { return(View("Error")); } } catch (Exception) { throw; } }
public Salon GetSalon(int id) { return(btcr.FindSalon(id)); }