public IActionResult DeleteSalon(string id) { Salons s = salonsLogic.GetOneSalon(id); salonsLogic.DeleteSalon(id); return(RedirectToAction(nameof(ListSalons))); }
public Salons GetOneSalon(string salonid) { return(sLogic.GetOneSalon(salonid)); }
public IActionResult DeleteSalon(string id) { Salons s = salonsLogic.GetOneSalon(id); salonsLogic.DeleteSalon(id); return(RedirectToAction(nameof(ListSalons))); }
public Salons GetOneSalon(string salonid) { return(sLogic.GetOneSalon(salonid)); }