public async Task <TimesheetEntity> PostTimesheet(TimesheetEditForm timesheetEditForm) { Kimai2APIDocs docs = new Kimai2APIDocs(Client, disposeHttpClient: false); var timesheet = await docs.CreateTimesheetRecordUsingPostAsync(timesheetEditForm).ConfigureAwait(false); return(timesheet); }
public async Task UpdateTimesheetRecordUsingPatchWithHttpMessagesAsync_StateUnderTest_ExpectedBehavior() { // Arrange var kimai2APIDocs = this.CreateKimai2APIDocs(); TimesheetEditForm body = null; int id = 0; Dictionary <string, List <string> > customHeaders = null; CancellationToken cancellationToken = default(global::System.Threading.CancellationToken); // Act var result = await kimai2APIDocs.UpdateTimesheetRecordUsingPatchWithHttpMessagesAsync( body, id, customHeaders, cancellationToken); // Assert Assert.True(false); }