public GalleryAttributeController(IGalleryAttributeContract galleryattributeContract)
 {
     _galleryattributeContract = galleryattributeContract;
     ViewBag.GalleryAttribute  = (_galleryattributeContract.SelectList("选择分类").Select(m => new SelectListItem {
         Text = m.Key, Value = m.Value
     })).ToList();
 }
示例#2
0
 public BackgroundMaterialController(IGalleryContract galleryContract,
                                     IGalleryAttributeContract galleryAttrContract)
 {
     _galleryContract     = galleryContract;
     _galleryAttrContract = galleryAttrContract;
 }
 public ProductMaterialController(IGalleryContract galleryContract,
                                  IGalleryAttributeContract galleryAttrContract)
 {
     _galleryContract     = galleryContract;
     _galleryAttrContract = galleryAttrContract;
 }