Esempio n. 1
0
        public ActionResult Create(int?id, int?itemgroupid)
        {
            if (!_dataobject.sysbusinessrole.IsAdd)
            {
                return(PartialView(this._roleview));
            }
            var model = _dataobject.GetNew(id);

            if (itemgroupid > 0)
            {
                model.ItemGroupID = itemgroupid ?? 0;
            }
            return(PartialView(this._updateview, model));
        }