public void TestThatUploadClientReturnsExpectedDto() { ActivityUploadDto activitiesUploadDto = GetTestActivitiesUploadDto(); UploadStatusDto uploadStatus = _uploadClient.UploadFile(activitiesUploadDto); Assert.AreEqual(_expectedDtoReturned, uploadStatus); }
public UploadStatusDto Upload([FromBody] ActivityUploadDto activityUploadDto) { return(_uploadClient.UploadFile(activityUploadDto)); }