/// <summary> /// Creates note. /// </summary> /// <param name="customerId">The customer identifier.</param> /// <param name="patientId">The patient identifier.</param> /// <param name="createNote">The note model.</param> /// <param name="token">The security token.</param> /// <returns></returns> public async Task <NoteDetailedResponseDto> CreateNote( int customerId, Guid patientId, BaseNoteDto createNote, string token) { string endpointUrl = string.Format("api/{0}/notes/{1}", customerId, patientId); var response = await apiClient.SendRequestAsync <NoteDetailedResponseDto>(endpointUrl, createNote, Method.POST, null, token); return(response); }
/// <summary> /// Creates note. /// </summary> /// <param name="customerId">The customer identifier.</param> /// <param name="patientId">The patient identifier.</param> /// <param name="createNote">The note model.</param> /// <param name="token">The security token.</param> /// <returns></returns> public async Task <NoteDetailedResponseDto> CreateNote(int customerId, Guid patientId, BaseNoteDto createNote, string token) { return(await notesDataProvider.CreateNote(customerId, patientId, createNote, token)); }