public static ExportFormat FromSourceFormat(SourceData input) { var export = new ExportFormat { AdhocRate = input.AdhocRate, PONumber = input.PONumber, PayRateInput = input.PayRateInput, PayrollPresentedRateCode = input.PayrollPresentedRateCode, ShiftDate = input.ShiftDate, ShiftSiteClientInvoiceName = input.ShiftSiteClientInvoiceName, ShiftPlacementAssignmentRef = input.ShiftPlacementAssignmentRef, Hours = input.Hours, WeekEndingDate = input.WeekEndingDate, TimesheeetTempestNo = input.TimesheeetTempestNo, TimesheetSiteClientId = input.TimesheetSiteClientId, WorkerName = input.WorkerName }; ConvertPayRate(input, export); //TODO: Do any processing here that you want Azure to populate the output file with - Things like AcvitiyCode are not received on the input return(export); }