public async Task <IHttpActionResult> GetBookingSystemsFromCity(string city) { var listOfBookingSystem = new BookingSystemRepo().GetBookingSystemsFromCity(city); return(Ok(listOfBookingSystem)); }
public async Task <IHttpActionResult> GetBookingSystem(int id) { var bookingSystem = new BookingSystemRepo().GetBookingSystem(id); return(Ok(bookingSystem)); }
public async Task <IHttpActionResult> GetAllBookingSystems() { var listOfBookingSystems = new BookingSystemRepo().GetAllBookingSystems(); return(Ok(listOfBookingSystems)); }
public async Task <IHttpActionResult> GetBookingSystemServiceType(int id) { var serviceType = new BookingSystemRepo().GetBookingSystemServiceType(id); return(Ok(serviceType)); }