public ShippersVm(IBOShippers boShippers) { İd = boShippers.İd; Company = boShippers.Company; LastName = boShippers.LastName; FirstName = boShippers.FirstName; EmailAddress = boShippers.EmailAddress; JobTitle = boShippers.JobTitle; BusinessPhone = boShippers.BusinessPhone; HomePhone = boShippers.HomePhone; MobilePhone = boShippers.MobilePhone; FaxNumber = boShippers.FaxNumber; Address = boShippers.Address; City = boShippers.City; StateProvince = boShippers.StateProvince; ZipPostalCode = boShippers.ZipPostalCode; CountryRegion = boShippers.CountryRegion; WebPage = boShippers.WebPage; Notes = boShippers.Notes; Attachments = boShippers.Attachments != null ? Convert.ToBase64String(boShippers.Attachments) : null; }
public ShippersVm(IBOShippers boShippers) { ShipperID = boShippers.ShipperID; CompanyName = boShippers.CompanyName; Phone = boShippers.Phone; }