Beispiel #1
0
        public ActionResult PromotionalBlock()
        {
            var promotionalBlockClass = new promotionalBlockClass();

            promotionalBlockClass.promotionalBlock = _IsettingServices.GetBlock();
            return(View(promotionalBlockClass));
        }
Beispiel #2
0
 public ActionResult PromotionalBlock(promotionalBlockClass opromotionalBlockClass)
 {
     ViewBag.message = _IsettingServices.UpdateBlock(opromotionalBlockClass.promotionalBlock) == 1 ? "Record updated." : "Record not updated.";
     return(View(opromotionalBlockClass));
 }