public ActionResult Index()
 {
     AdvertisingCreativeModel view_model = new AdvertisingCreativeModel()
     {
         Categories = _db.GetAllAdvertisingCreativeCategories(),
         Objects = _db.GetAllAdvertisingCreativeObjects()
     };
     return View(view_model);
 }
示例#2
0
 public ActionResult AdvertisingCreative()
 {
     var AdvertisingCreative = new AdvertisingCreativeModel()
     {
         Categories = _db.GetAllAdvertisingCreativeCategories(),
         Objects = _db.GetAllAdvertisingCreativeObjects()
     };
     return PartialView("~/Views/AdvertisingCreative/_AdvertisingCreative.cshtml", AdvertisingCreative);
 }
 public ActionResult Details(Guid ID)
 {
     AdvertisingCreativeModel view_model = new AdvertisingCreativeModel()
     {
         Categories = _db.GetAllAdvertisingCreativeCategories(),
         Objects = _db.GetAllAdvertisingCreativeObjects(),
         ACObject = _db.GetAdvertisingCreativeObjectByID(ID)
     };
     return PartialView("_Details", view_model);
 }