public static GetAddressViewModelShowingSeeAnnexInstruction ( string seeAnnexNotice ) : |
||
seeAnnexNotice | string | |
Результат |
private void SetAllPropertiesToEmptyString() { FirstReg = string.Empty; FirstName = string.Empty; firstAddress = AddressViewModel.GetAddressViewModelShowingSeeAnnexInstruction(string.Empty); FirstTel = string.Empty; FirstFax = string.Empty; FirstEmail = string.Empty; FirstContact = string.Empty; SecondReg = string.Empty; SecondName = string.Empty; secondAddress = AddressViewModel.GetAddressViewModelShowingSeeAnnexInstruction(string.Empty); SecondTel = string.Empty; SecondFax = string.Empty; SecondEmail = string.Empty; SecondContact = string.Empty; LastReg = string.Empty; LastName = string.Empty; lastAddress = AddressViewModel.GetAddressViewModelShowingSeeAnnexInstruction(string.Empty); LastTel = string.Empty; LastFax = string.Empty; LastEmail = string.Empty; LastContact = string.Empty; AnnexMessage = string.Empty; }
private ProducerViewModel GetProducerViewModelShowingAnnexMessagesForProducerCountGreaterThanTwo(ProducerViewModel pvm, int annexNumber) { var seeAnnexNotice = "See Annex " + annexNumber; pvm.AnnexMessage = seeAnnexNotice; pvm.ContactPerson = string.Empty; pvm.Name = string.Empty; pvm.Email = string.Empty; pvm.Telephone = string.Empty; pvm.RegistrationNumber = string.Empty; pvm.address = AddressViewModel.GetAddressViewModelShowingSeeAnnexInstruction(string.Empty); pvm.Fax = string.Empty; pvm.SiteOfGeneration = GetSiteAndProcessText(annexNumber); return(pvm); }
public static FacilityViewModel GetSeeAnnexInstructionForFacility(int annexNumber) { var seeAnnexNotice = "See Annex " + annexNumber; return(new FacilityViewModel { AnnexMessage = seeAnnexNotice, ContactPerson = string.Empty, Name = string.Empty, Email = string.Empty, Telephone = string.Empty, RegistrationNumber = string.Empty, address = AddressViewModel.GetAddressViewModelShowingSeeAnnexInstruction(string.Empty), Fax = string.Empty, ActualSite = seeAnnexNotice }); }
public static CarrierViewModel GetCarrierViewModelShowingSeeAnnexInstruction(int annexNumber, string meansOfTransport) { var seeAnnexNotice = "See Annex " + annexNumber; return(new CarrierViewModel { AnnexMessage = seeAnnexNotice, ContactPerson = string.Empty, Name = string.Empty, Email = string.Empty, Telephone = string.Empty, RegistrationNumber = string.Empty, address = AddressViewModel.GetAddressViewModelShowingSeeAnnexInstruction(string.Empty), Fax = string.Empty, MeansOfTransport = meansOfTransport }); }