Ejemplo n.º 1
0
        public StoreModels(M_VnPostVta model)
        {
            CompanyCode = model.CompanyCode;
            JavaScriptSerializer jss = new JavaScriptSerializer();

            ListStoreCode = jss.Deserialize <List <StoreCodeModels> >(model.ListStoreCode);
        }
Ejemplo n.º 2
0
 public MVnPostVtaModel(M_VnPostVta entity, string companyName)
 {
     Id             = entity.Id;
     CompanyCode    = entity.CompanyCode;
     ListStoreCodes = entity.ListStoreCode;
     CompanyName    = companyName;
 }