public MessageLearner Process(MessageLearner model) { if (model == null) { return(null); } model.LearnRefNumber = _learnerRefProvider.ProvideNewReference(model.LearnRefNumber); if (model.ULN.HasValue) { model.ULN = _ulnProvider.ProvideNewReference(model.ULN.Value); } model.GivenNames = "GivenNames"; model.FamilyName = "FamilyName"; model.TelNo = "01215555555"; model.Email = "*****@*****.**"; model.AddLine1 = "Address line 1"; model.AddLine2 = "Address Line 2"; model.AddLine3 = "Address Line 3"; model.AddLine4 = "Address Line 4"; model.NINumber = "LJ000000A"; return(model); }
public MessageLearnerDestinationandProgression Process(MessageLearnerDestinationandProgression model) { model.LearnRefNumber = _learnerRefProvider.ProvideNewReference(model.LearnRefNumber, true); if (model.ULN.HasValue) { model.ULN = _ulnProvider.ProvideNewReference(model.ULN.Value, true); } return(model); }