예제 #1
0
        public IActionResult Info(string entID)
        {
            var ID                 = Guid.Parse(entID);
            var entInfo            = _enterpriseService.getEntInfo(ID);
            CompanyInfoModel model = new CompanyInfoModel()
            {
                Area        = entInfo.EnterpriseInfo.Area,
                CompanyName = entInfo.EnterpriseInfo.Company_Name,
                Email       = entInfo.EnterpriseInfo.Email,
                Phone       = entInfo.EnterpriseInfo.Phone,
                Posts       = entInfo.Posts.ToList(),
                Website     = entInfo.EnterpriseInfo.Website,
                Scale       = entInfo.EnterpriseInfo.Scale
            };

            return(View(model));
        }