// GET: STCheckPeople/Details/5
        public ActionResult Details(int id)
        {
            var model = new STCheckPeopleDetails();

            model.People = rep.GetById(id);
            var allSTUnit = GetCurrentInstsST();

            model.People.isjs         = sysDictServcie.GetDictsByKey("noYes", model.People.isjs);
            model.People.ismanager    = sysDictServcie.GetDictsByKey("noYes", model.People.ismanager);
            model.People.issy         = sysDictServcie.GetDictsByKey("noYes", model.People.issy);
            model.People.ishaspostnum = sysDictServcie.GetDictsByKey("noYes", model.People.ishaspostnum);
            model.People.Title        = sysDictServcie.GetDictsByKey("STPersonnelTitles", model.People.Title);
            model.UnitName            = sTCustomService.GetSTUnitByIdFromAll(allSTUnit, model.People.Customid);

            model.STCheckPeoplePunish    = CheckPeoplePunish(model.People.Id);
            model.STCheckPeopleAwards    = CheckPeopleAwards(model.People.Id);
            model.STCheckPeopleChange    = CheckPeopleChange(model.People.Id);
            model.STCheckPeopleEducation = CheckPeopleEducation(model.People.Id);
            model.STCheckPeopleFile      = CheckPeopleFile(
                model.People.sbnumpath,
                model.People.selfnumPath,
                model.People.educationpath,
                model.People.PostPath,
                model.People.PhotoPath);

            return(View(model));
        }
Exemplo n.º 2
0
        public ActionResult UnitBuildingQualify(int?id)
        {
            var model = new UnitQualifyUIModel();
            var tbOne = repOne.GetById(id);

            model.ID       = id.ToString();
            model.UnitName = tbOne.unitname;
            model.FRDB     = tbOne.name;

            var custom = repCustom.GetById(tbOne.unitCode);

            if (tbOne.type != "0")
            {
                model.YYJCZZ = custom.zzlbmc; //原有检测资质
            }

            var tbTwo = repTwo.GetByCondition(r => r.pid == id).FirstOrDefault();

            if (tbTwo != null)
            {
                model.OnesSb      = tbTwo.measnum; //计量认证编号
                model.MeasnumPath = tbTwo.measnumpath;
                model.sqjcyw      = tbTwo.sqjcyw;  //现有检测资质
            }

            return(View(model));
        }
Exemplo n.º 3
0
        // GET: SysUser/Edit/5
        public ActionResult Edit(int id)
        {
            var user     = userRep.GetById(id);
            var userRole = userInRoleRep.GetByCondition(r => r.UserId == id);

            user.UserRoles = userRole;
            string str = user.ToJson();

            return(Content(str));
        }
        public ActionResult JZJNEdit(int id)
        {
            JZJNDetailsModel model = new JZJNDetailsModel()
            {
                jzjnCheck = new t_bp_JZJNCheck(),
                allUnit   = new InstShortInfos()
            };
            var data = jzjnCheckRep.GetById(id);

            model.allUnit   = checkUnitService.GetAllCheckUnit();
            model.jzjnCheck = data;
            return(View(model));
        }
        public ActionResult JbxxEdit(int id)
        {
            JbxxDetailsModel model = new JbxxDetailsModel()
            {
                jbxxCheck = new t_instcheck(),
                allUnit   = new InstShortInfos()
            };
            var data = jbxxCheckRep.GetById(id);

            model.allUnit   = checkUnitService.GetAllCheckUnit();
            model.jbxxCheck = data;
            return(View(model));
        }
        public ActionResult SLKQDetails(int id)
        {
            SLKQDetailsModel model = new SLKQDetailsModel()
            {
                slkqCheck = new  t_bp_SLKQCheck(),
                allUnit   = new InstShortInfos()
            };
            var data = slkqCheckRep.GetById(id);

            model.allUnit   = checkUnitService.GetAllCheckUnit();
            model.slkqCheck = data;
            return(View(model));
        }
Exemplo n.º 7
0
        public bool DeltePath(int pathId, out string errorMsg)
        {
            errorMsg = string.Empty;

            try
            {
                var  existPath      = pathRep.GetById(pathId);
                bool isCategoryPath = false;
                if (existPath != null && existPath.IsCategory)
                {
                    isCategoryPath = true;
                }
                int delCount = pathRep.DeleteById(pathId);
                if (isCategoryPath)
                {
                    pathCache.Remove(PkPmCacheKeys.CategoryPaths);
                }
                else
                {
                    pathCache.Clear();
                }
                return(true);
            }
            catch (Exception ex)
            {
                errorMsg = ex.Message;
                return(false);
            }
        }
Exemplo n.º 8
0
        // GET: SysMenu/Edit/5
        public ActionResult Edit(int id)
        {
            var    path = rep.GetById(id);
            string str  = path.ToJson();

            return(Content(str));
        }
Exemplo n.º 9
0
        // GET: SysDict/Edit/5
        public ActionResult Edit(int id)
        {
            var    sysDict = rep.GetById(id);
            string str     = sysDict.ToJson();

            return(Content(str));
        }
Exemplo n.º 10
0
        // GET: SysInfo/Edit/5
        public ActionResult Edit(int id)
        {
            var model = new SysInfoEditViewModel();

            model.PkpmJCRU = rep.GetById(id);
            model.Type     = sysDictService.GetDictsByKey("infoType");
            return(View(model));
        }
        //GET:InstBaseRecord/ZTJGEdit
        public ActionResult ZTJGEdit(int id)
        {
            ZTJGEditViewModel model = new ZTJGEditViewModel()
            {
                Major = new CheckUnitRecord_MajorStructure(),
            };

            model.Major   = majorRep.GetById(id);
            model.allUnit = checkUnitService.GetAllCheckUnit();
            return(View(model));
        }
Exemplo n.º 12
0
        public ActionResult Detail(int?id)
        {
            var tbCS  = repCS.GetById(id);
            var model = new CBRUnitSaveModel()
            {
                csbh    = tbCS.csbh,
                content = tbCS.content
            };

            return(View(model));
        }
Exemplo n.º 13
0
        public UserAsRole GetByWxOpenId(string openId)
        {
            List <WxUser> wxUsers = m_repWxUser.GetByCondition(r => r.OpenId == openId);

            if (wxUsers.Count == 0)
            {
                return(null);
            }
            else
            {
                return(userAsRoleRep.GetById(wxUsers[0].UserId));
            }
        }
Exemplo n.º 14
0
        public ActionResult Details(int id)
        {
            ZNHTYFangAnViewModel model = new ZNHTYFangAnViewModel();
            var progData = HTYRep.GetById(id);

            if (!string.IsNullOrEmpty(progData.filepath))
            {
                progData.filepath = SymCryptoUtility.Encrypt(progData.filepath);
            }
            if (!string.IsNullOrEmpty(progData.hqfilepath))
            {
                progData.hqfilepath = SymCryptoUtility.Encrypt(progData.hqfilepath);
            }

            model.programme = progData;
            var projects = projectRep.GetByCondition(r => r.PROJECTNUM == model.programme.projectnum);//.GetById(id);

            if (projects != null && projects.Count > 0)
            {
                model.project       = projects.First();
                model.PLANSTARTDATE = model.project.PLANSTARTDATE.HasValue ? model.project.PLANSTARTDATE.Value.ToString("yyyy-MM-dd") : string.Empty;
            }

            model.date = (model.programme.planstartdate.HasValue ? model.programme.planstartdate.Value.ToString("yyyy-MM-dd") : string.Empty) + " - " + (model.programme.planenddate.HasValue ? model.programme.planenddate.Value.ToString("yyyy-MM-dd") : string.Empty);
            var allCustoms = checkUnitServce.GetAllCheckUnit();

            model.programme.unitcode = checkUnitServce.GetCheckUnitByIdFromAll(allCustoms, model.programme.unitcode);

            var peopleIds = progData.testingpeople;

            if (!peopleIds.IsNullOrEmpty())
            {
                var peoIds  = peopleIds.Split(',').ToList();
                var peoples = peopleRep.GetByCondition(w => peoIds.Contains(w.id.ToString()));
                model.people = peoples;
            }
            var equipIds = progData.testingequipment;

            if (!equipIds.IsNullOrEmpty())
            {
                var equIds = equipIds.Split(',').ToList();
                var equips = equipRep.GetByCondition(w => equIds.Contains(w.id.ToString()));
                model.EquipNums = equips.Select(s => s.equnum).Join(",");
            }
            return(View(model));
        }
Exemplo n.º 15
0
        public InstShortInfos GetUserInstsST(int userId)
        {
            var instSTs = cacheInsts.Get(PkPmCacheKeys.CustomsByUserIdSTFmt.Fmt(userId));

            if (instSTs != null)
            {
                return(instSTs);
            }
            else
            {
                var user = _repUser.GetById(userId);
                //数据权限检测人员全部从 customid字段取,去掉usercode
                string customId = user.CustomId;

                if (customId.IsNullOrEmpty())
                {
                    customId = pkpmConfigService.DefaultInst;
                }


                var role = GetUserRole(userId);

                //管理员 监督 查看报告 见证取样 的默认为全部
                if (roleService.IsAdmin(role) || roleService.IsReport(role) || roleService.IsSuperVisor(role) || roleService.IsAllQYYAndJYY(role))
                {
                    instSTs = stCustomService.GetAllCustomST();
                }
                else
                {
                    instSTs = stCustomService.GetSubInstSTs(customId);
                }

                if (instSTs.Count == 0)
                {
                    instSTs = stCustomService.GetDefaultInstSTs();
                }

                cacheInsts.Put(PkPmCacheKeys.CustomsByUserIdSTFmt.Fmt(userId), instSTs);
                return(instSTs);
            }
        }
Exemplo n.º 16
0
        public t_bp_custom GetCustomInsts(int userId)
        {
            var user = _repUser.GetById(userId);
            //数据权限检测人员全部从 customid字段取,
            string customId = string.Empty;

            if (user != null)
            {
                customId = user.CustomId;
            }

            if (customId.IsNullOrEmpty())
            {
                customId = pkpmConfigService.DefaultInst;
            }


            return(_custom.GetById(customId));
        }
Exemplo n.º 17
0
        public ActionResult DetailUnitBuildingQualify(int?id, int?pid)
        {
            var model   = repSH.GetById(id);
            var tbTwo   = repTwo.GetByCondition(r => r.pid == pid).FirstOrDefault();
            var modelUI = new ExpertUnitQualifySaveModel()
            {
                pid         = pid,
                unitName    = model.unitName,
                frdb        = model.frdb,
                yyjczz      = model.yyjczz,
                onesjz      = model.onesjz,
                onedbqk     = model.onedbqk,
                twosjz      = model.twosjz,
                twodbqk     = model.twodbqk,
                twodjjcsjz  = model.twodjjcsjz,
                twodjjcdbqk = model.twodjjcdbqk,
                twodztjgsjz = model.twodztjgsjz,
                twoztjgdbqk = model.twoztjgdbqk,
                twojzmqsjz  = model.twojzmqsjz,
                twojzmqdbqk = model.twojzmqdbqk,
                twogjgsjz   = model.twogjgsjz,
                twogjgdbqk  = model.twogjgdbqk,
                twojzqysjz  = model.twojzqysjz,
                twojzqydbqk = model.twojzqydbqk,
                threesjz    = model.threesjz,
                threedbqk   = model.threedbqk,
                foursjz     = model.foursjz,
                fourdbqk    = model.fourdbqk,
                shyj        = model.shyj,
                username    = model.username,
                createtime  = model.createtime
            };

            if (tbTwo != null)
            {
                modelUI.OnesSb      = tbTwo.measnum; //计量认证编号
                modelUI.MeasnumPath = tbTwo.measnumpath;
                modelUI.sqjcyw      = tbTwo.sqjcyw;  //现有检测资质
            }


            return(View(modelUI));
        }
Exemplo n.º 18
0
        private STCheckEquipModel GetSTEquipByid(string id)
        {
            var allSTUnit = GetCurrentInstsST();

            var equipment = rep.GetById(id);
            var model     = new STCheckEquipModel()
            {
                id         = equipment.Id.ToString(),
                CustomId   = equipment.customid,
                EquipName  = equipment.EquName,
                EquipSpec  = equipment.equspec,
                EquipType  = equipment.equtype,
                BuyTime    = equipment.buytime.HasValue ? GetUIDtString(equipment.buytime.Value, "yyyy-MM-dd") : "",
                TimeStart  = equipment.timestart.HasValue ? GetUIDtString(equipment.timestart.Value, "yyyy-MM-dd") : "",
                TimeEnd    = equipment.timeend.HasValue ? GetUIDtString(equipment.timeend.Value, "yyyy-MM-dd") : "",
                CheckTime  = equipment.checktime.HasValue ? GetUIDtString(equipment.checktime.Value, "yyyy-MM-dd") : "",
                CustomName = sTCustomService.GetSTUnitByIdFromAll(allSTUnit, equipment.customid),
            };

            model.Time = model.TimeStart + " - " + model.TimeEnd;

            return(model);
        }
Exemplo n.º 19
0
        public ActionResult DetailSpecialQualify(int?id, int?pid)
        {
            var model   = repSC.GetById(id);
            var tbTwo   = repTwo.GetByCondition(r => r.pid == pid).FirstOrDefault();
            var modelUI = new SpecialQualifySaveModel()
            {
                pid         = pid,
                unitName    = model.unitName,
                frdb        = model.frdb,
                sqnr        = model.sqnr,
                ssfzr       = model.ssfzr,
                onesjz      = model.onesjz,
                onedbqk     = model.onedbqk,
                twosjz      = model.twosjz,
                twodbqk     = model.twodbqk,
                threesjz    = model.threesjz,
                threedbqk   = model.threedbqk,
                foursjz     = model.foursjz,
                fourdbqk    = model.fourdbqk,
                fivesjzone  = model.fivesjzone,
                fivedbqkone = model.fivedbqkone,
                fivesjztwo  = model.fivesjztwo,
                fivedbqktwo = model.fivedbqktwo,
                sixsjz      = model.sixsjz,
                sixdbqk     = model.sixdbqk,
                sevensjz    = model.sevensjz,
                sevendbqk   = model.sevendbqk,
                shyj        = model.shyj,
                username    = model.username,
                createtime  = model.createtime
            };

            modelUI.OnesSb      = tbTwo.measnum; //计量认证编号
            modelUI.MeasnumPath = tbTwo.measnumpath;

            return(View(modelUI));
        }
Exemplo n.º 20
0
        public ActionResult Search(DistributeExpertSearchModel searchModel)
        {
            var data = GetSearchResult(searchModel);

            DhtmlxGrid grid = new DhtmlxGrid();
            int        pos  = searchModel.posStart.HasValue ? searchModel.posStart.Value : 0;

            grid.AddPaging(data.TotalCount, pos);
            var buttons         = GetCurrentUserPathActions();
            var currentUserRole = GetCurrentUserRole();

            for (int i = 0; i < data.Results.Count; i++)
            {
                var           rowData = data.Results[i];
                DhtmlxGridRow row     = new DhtmlxGridRow(rowData.id);
                row.AddCell(string.Empty);
                row.AddCell((pos + i + 1).ToString());//序号

                var tbOne = repOne.GetById(rowData.pid);
                if (tbOne != null)
                {
                    row.AddCell(tbOne.unitname);
                }
                else
                {
                    row.AddCell("");
                }

                var zj = string.Empty;
                if (!string.IsNullOrEmpty(rowData.zjsp1))
                {
                    zj += rowData.zjsp1;
                }
                if (!string.IsNullOrEmpty(rowData.zjsp2))
                {
                    zj += "," + rowData.zjsp2;
                }
                if (!string.IsNullOrEmpty(zj))
                {
                    var userDic = userService.ApiGetUserNameByUserIds(zj.Split(',').ToList());
                    row.AddCell(userDic.Values.Join(","));
                }
                else
                {
                    row.AddCell("");
                }

                if (HaveButtonFromAll(buttons, "Distribute") && (rowData.@static == 1 || rowData.@static == 2))
                {
                    row.AddLinkJsCell("分配专家", "DistributeExpert(\"{0}\",\"{1}\")".Fmt(rowData.id, rowData.pid));
                }
                else
                {
                    row.AddCell(string.Empty);
                }

                grid.AddGridRow(row);
            }
            string str = grid.BuildRowXml().ToString(System.Xml.Linq.SaveOptions.DisableFormatting);

            return(Content(str, "text/xml"));
        }
        public ActionResult Save(ApplyQualifySixSaveModel model)
        {
            ControllerResult          result  = ControllerResult.SuccResult;
            List <ApplyQualifSixData> peoples = new List <ApplyQualifSixData>();

            var root = XElement.Parse(model.gridStr);
            //  var updataPath = XElement.Parse(model.updatapath);
            List <int?> Ids = new List <int?>();//存储所有的人员编号,方便在后续的对数据库的操作中对人员编号赋值

            var customId = repOne.GetById(model.PId).unitCode;

            foreach (var rowElem in root.Elements("row"))
            {
                var id = (int?)rowElem.Attribute("id");
                if (Ids.Contains(id))//如果已经有这个人员信息,直接下一个
                {
                    continue;
                }

                Ids.Add(id);

                var text  = (string)rowElem;
                var index = 0;
                ApplyQualifSixData people = new ApplyQualifSixData();
                foreach (var cellElem in rowElem.Elements("cell"))
                {
                    switch (index)
                    {
                    case 0:
                        people.xm = (string)cellElem;
                        break;

                    case 1:
                        people.xb = (string)cellElem;
                        break;

                    case 2:
                        people.nl = (string)cellElem;
                        break;

                    case 3:
                        people.zw = (string)cellElem;
                        break;

                    case 4:
                        people.xl = (string)cellElem;
                        break;

                    case 5:
                        people.zy = (string)cellElem;
                        break;

                    case 6:
                        people.zc = (string)cellElem;
                        break;

                    case 7:
                        people.sfzhm = (string)cellElem;
                        break;

                    case 8:
                        people.sgzsh = (string)cellElem;
                        break;

                    case 9:
                        people.csjflb = (string)cellElem;
                        break;

                    case 10:
                        people.csjfnx = (string)cellElem;
                        break;

                    case 11:
                        people.shbxzh = (string)cellElem;
                        break;

                    case 12:
                        people.xlpath = (string)cellElem;
                        break;

                    case 13:
                        people.zcpath = (string)cellElem;
                        break;

                    case 14:
                        people.sfzhmpath = (string)cellElem;
                        break;

                    case 15:
                        people.sgzshpath = (string)cellElem;
                        break;
                    }
                    index++;
                }
                peoples.Add(people);
            }


            using (var db = dbFactory.Open())
            {
                using (var dbTrans = db.OpenTransaction())
                {
                    try
                    {
                        db.Delete <t_D_UserTableSix>(t => t.pid == model.PId && t.unitcode == customId);
                        var index = 0;
                        foreach (var item in peoples)
                        {
                            t_D_UserTableSix oneSxi = new t_D_UserTableSix()
                            {
                                PeopleId = Ids[index],
                                gzjl     = item.ToJson(),
                                unitcode = customId,
                                pid      = model.PId,
                                staitc   = 0
                            };
                            db.Insert(oneSxi);
                            index++;
                        }
                        dbTrans.Commit();
                    }
                    catch (Exception ex)
                    {
                        dbTrans.Rollback();
                        result.ErroMsg = ex.Message;
                        result         = ControllerResult.FailResult;
                    }
                }
            }

            return(Content(result.ToJson()));
        }
Exemplo n.º 22
0
        // GET: ItemName/Edit/5
        public ActionResult Edit(int id)
        {
            var parm = rep.GetById(id);

            return(Content(parm.ToJson()));
        }
Exemplo n.º 23
0
        public ActionResult Action(int id)
        {
            var action = actionRep.GetById(id);

            return(Content(action.ToJson()));
        }
Exemplo n.º 24
0
        public ActionResult Search(CBRUnitSearchModel searchModel)
        {
            var data = GetSearchResult(searchModel);

            DhtmlxGrid grid = new DhtmlxGrid();
            int        pos  = searchModel.posStart.HasValue ? searchModel.posStart.Value : 0;

            grid.AddPaging(data.TotalCount, pos);
            var buttons         = GetCurrentUserPathActions();
            var currentUserRole = GetCurrentUserRole();

            for (int i = 0; i < data.Results.Count; i++)
            {
                var           rowData = data.Results[i];
                DhtmlxGridRow row     = new DhtmlxGridRow(rowData.id.ToString());
                row.AddCell(string.Empty);
                row.AddCell((pos + i + 1).ToString());//序号

                var tbOne = repOne.GetById(rowData.pid);
                if (tbOne != null)
                {
                    row.AddCell(tbOne.unitname);
                }
                else
                {
                    row.AddCell("");
                }

                if (rowData.zjsp1.HasValue)
                {
                    var user = repUser.GetById(rowData.zjsp1);
                    var ueu  = repEU.GetByCondition(r => r.userid == user.Id && r.pid == rowData.pid).FirstOrDefault();
                    if (ueu != null)
                    {
                        if (ueu.qualifystatus == 1)
                        {
                            row.AddLinkJsCell(user.UserDisplayName + "/[建设工程质量检测资质机构审核表]", "DetailUnitBuildingQualify(\"{0}\",\"{1}\")".Fmt(ueu.shid, ueu.pid));
                        }
                        else
                        {
                            row.AddCell("");
                        }

                        if (ueu.speicalstatus == 1)
                        {
                            row.AddLinkJsCell(user.UserDisplayName + "/[专项检测备案审核表]", "DetailSpecialQualify(\"{0}\",\"{1}\")".Fmt(ueu.scid, ueu.pid));
                        }
                        else
                        {
                            row.AddCell("");
                        }
                    }
                    else
                    {
                        row.AddCell("");
                        row.AddCell("");
                    }
                }
                else
                {
                    row.AddCell("");
                    row.AddCell("");
                }

                if (rowData.zjsp2.HasValue)
                {
                    var user = repUser.GetById(rowData.zjsp2);
                    var ueu  = repEU.GetByCondition(r => r.userid == user.Id && r.pid == rowData.pid).FirstOrDefault();
                    if (ueu != null)
                    {
                        if (ueu.qualifystatus == 1)
                        {
                            row.AddLinkJsCell(user.UserDisplayName + "/[建设工程质量检测资质机构审核表]", "DetailUnitBuildingQualify(\"{0}\",\"{1}\")".Fmt(ueu.shid, ueu.pid));
                        }
                        else
                        {
                            row.AddCell("");
                        }

                        if (ueu.speicalstatus == 1)
                        {
                            row.AddLinkJsCell(user.UserDisplayName + "/[专项检测备案审核表]", "DetailSpecialQualify(\"{0}\",\"{1}\")".Fmt(ueu.scid, ueu.pid));
                        }
                        else
                        {
                            row.AddCell("");
                        }
                    }
                    else
                    {
                        row.AddCell("");
                        row.AddCell("");
                    }
                }
                else
                {
                    row.AddCell("");
                    row.AddCell("");
                }

                row.AddCell(rowData.slr);
                row.AddCell(rowData.cbr);

                if (rowData.@static == 1)
                {
                    row.AddCell("受理人受理");
                }
                else if (rowData.@static == 2)
                {
                    row.AddCell("已分配专家");
                }
                else if (rowData.@static == 3)
                {
                    row.AddCell("专家审批完成");
                }
                else if (rowData.@static == 4)
                {
                    row.AddCell("承办人审批通过");
                }
                else if (rowData.@static == 5)
                {
                    row.AddCell("承办人审批不通过");
                }
                else if (rowData.@static == 6)
                {
                    row.AddCell("申诉复核通过");
                }
                else if (rowData.@static == 7)
                {
                    row.AddCell("申诉复核不通过");
                }
                else
                {
                    row.AddCell("");
                }

                var tbCS = repCS.GetByCondition(r => r.pid == rowData.pid).FirstOrDefault();
                if (rowData.@static >= 3)
                {
                    if (tbCS != null)
                    {
                        row.AddLinkJsCell("查看初审表", "Detail(\"{0}\")".Fmt(tbCS.id));
                    }
                    else
                    {
                        row.AddLinkJsCell("填写初审表", "FillIn(\"{0}\")".Fmt(rowData.pid));
                    }
                }
                else
                {
                    row.AddCell(string.Empty);
                }

                if (rowData.@static == 3)
                {
                    if (HaveButtonFromAll(buttons, "Approval") && tbCS != null)
                    {
                        row.AddLinkJsCell("审批", "Approval(\"{0}\",\"{1}\")".Fmt(rowData.id, rowData.pid));
                    }
                    else
                    {
                        row.AddCell(string.Empty);
                    }
                }
                else if (rowData.@static == 5)
                {
                    row.AddLinkJsCell("查看原因", "Reason(\"{0}\")".Fmt(rowData.outstaticinfo));
                }


                grid.AddGridRow(row);
            }
            string str = grid.BuildRowXml().ToString(System.Xml.Linq.SaveOptions.DisableFormatting);

            return(Content(str, "text/xml"));
        }
Exemplo n.º 25
0
        // GET: SysSoftwareVers/Edit/5
        public ActionResult Edit(int id)
        {
            var model = rep.GetById(id);

            return(View(model));
        }