Beispiel #1
0
        /// <summary>
        /// Clears the calendar.
        /// </summary>
        /// <param name="customerId">The customer identifier.</param>
        /// <param name="patientId">The patient identifier.</param>
        /// <param name="clearCalendarRequestDto">The clear calendar request dto.</param>
        /// <param name="token">The token.</param>
        /// <returns>Task.</returns>
        /// <exception cref="NotImplementedException"></exception>
        public async Task ClearCalendar(object customerId, Guid patientId, ClearCalendarRequestDto clearCalendarRequestDto, string token)
        {
            string endpointUrl = string.Format("/api/{0}/patient/{1}/calendar/clear", customerId, patientId);

            await apiClient.SendRequestAsync(
                endpointUrl, clearCalendarRequestDto, Method.POST, null, token);
        }
Beispiel #2
0
 /// <summary>
 /// Clears the calendar.
 /// </summary>
 /// <param name="customerId">The customer identifier.</param>
 /// <param name="patientId">The patient identifier.</param>
 /// <param name="clearCalendarRequestDto">The clear calendar request dto.</param>
 /// <param name="token">The token.</param>
 /// <returns></returns>
 public async Task ClearCalendar(object customerId, Guid patientId, ClearCalendarRequestDto clearCalendarRequestDto, string token)
 {
     await patientsDataProvider.ClearCalendar(customerId, patientId, clearCalendarRequestDto, token);
 }