public IHttpActionResult GetEmployee(int id)
        {
            IBooking myDbBooking = new BookingDAL();

            btcr = new ASP.NET_Backend.Controller.BookingController(myDbBooking);
            var hairdresser = btcr.FindHairdresser(3);

            return(Ok(hairdresser));
        }
        public ActionResult Index(int id)

        {
            try
            {
                hairDresser = btcr.FindHairdresser(id);
                if (hairDresser != null)
                {
                    return(View(hairDresser));
                }
                else
                {
                    return(View("Error"));
                }
            }
            catch (Exception)
            {
                return(View("Error"));
            }
        }
 public Hairdresser GetHairDresser(int id)
 {
     return(btcr.FindHairdresser(id));
 }