/// <summary> /// Gets the freetimes avalible for the chosen escaperoom /// </summary> /// <param name="ER_ID">The EscapeRoom ID</param> /// <param name="Bdate">The Date of the booking</param> /// <returns>returns a list of the times avalible for the escaperoom</returns> public List <TimeSpan> FreeTimes(int ER_ID, DateTime Bdate) { IEscapeRoom_Services escServ = new EscapeRoom_ServicesClient(); Console.WriteLine(escServ.FreeTimes(ER_ID, Bdate).Count); return(escServ.FreeTimes(ER_ID, Bdate)); }
/// <summary> /// To get the FreeTimes on a choosen escaperoom on a specific date /// </summary> /// <param name="ER_ID"></param> /// <param name="Bdate"></param> /// <returns>The FreeTimes on the specific date</returns> public List <TimeSpan> FreeTimes(int ER_ID, DateTime Bdate) { IEscapeRoom_Services Service = new EscapeRoom_ServicesClient(); return(Service.FreeTimes(ER_ID, Bdate)); }