コード例 #1
0
        public ActionResult Raja()
        {
            var model = new MyWidgetModel();

            model.Message = this.Message;

            return(View(model));
        }
コード例 #2
0
        // 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));
        }