public CustomersVm(IBOCustomers boCustomers) { CustomerID = boCustomers.CustomerID; CompanyName = boCustomers.CompanyName; ContactName = boCustomers.ContactName; ContactTitle = boCustomers.ContactTitle; Address = boCustomers.Address; City = boCustomers.City; Region = boCustomers.Region; PostalCode = boCustomers.PostalCode; Country = boCustomers.Country; Phone = boCustomers.Phone; Fax = boCustomers.Fax; }
public CustomersVm(IBOCustomers boCustomers) { İd = boCustomers.İd; Company = boCustomers.Company; LastName = boCustomers.LastName; FirstName = boCustomers.FirstName; EmailAddress = boCustomers.EmailAddress; JobTitle = boCustomers.JobTitle; BusinessPhone = boCustomers.BusinessPhone; HomePhone = boCustomers.HomePhone; MobilePhone = boCustomers.MobilePhone; FaxNumber = boCustomers.FaxNumber; Address = boCustomers.Address; City = boCustomers.City; StateProvince = boCustomers.StateProvince; ZipPostalCode = boCustomers.ZipPostalCode; CountryRegion = boCustomers.CountryRegion; WebPage = boCustomers.WebPage; Notes = boCustomers.Notes; Attachments = boCustomers.Attachments != null?Convert.ToBase64String(boCustomers.Attachments) : null; }