public ActionResult Raja() { var model = new MyWidgetModel(); model.Message = this.Message; return(View(model)); }
// GET: MyWidget public ActionResult Index() { var model = new MyWidgetModel(); model.Message = this.Message; model.Flag = this.Flag; model.Enum = this.Enum; model.Number = this.Number; model.MyDate = this.MyDate; LibrariesManager lbmanager = LibrariesManager.GetManager(); var image = lbmanager.GetImage(Guid.Parse(this.Images.ItemIdsOrdered[0])); model.Images = image.MediaUrl; return(View(model)); }