public void SetUp()
 {
     testDataHelper = new TestDataHelper();
     uploadFileRepository = new UploadFileRepository();
     constituent = testDataHelper.CreateConstituent(ConstituentMother.ConstituentWithName(ConstituentNameMother.JamesFranklin()));
     savedUpload = testDataHelper.CreateUpload(UploadMother.Test(constituent));
 }
 public Upload UpdateUploadFile(Upload upload)
 {
     return repository.Update(upload);
 }
 public static UploadData Test(Upload upload)
 {
     return new UploadData() { Constituent = new ConstituentData() { Id = upload.Id }, Name = upload.Name, Description = upload.Description };
 }
 public Upload CreateUploadFile(Upload uploadFile)
 {
     return repository.Save(uploadFile);
 }