/** * Method initializes a process of saving a booking * * @param comment booking comment * @param startTime appointment's start time * @param endTime appointment's end time * @param userId * @param staffScheduleId id of connection between staff and schedule */ public bool bookAppointment(string comment, string startTime, string endTime, int userId, int staffScheduleId) { return(repo.bookAppointment(comment, startTime, endTime, userId, staffScheduleId)); }