Ejemplo n.º 1
0
        public ActionResult Details(Guid?id)
        {
            CompwiseDepts compwiseDepts = new CompwiseDepts();

            compwiseDepts.companyTBL = _companyService.GetCompany((Guid)id);
            compwiseDepts.depts      = _companyService.GetDeptList((Guid)id);
            return(View(compwiseDepts));
        }
Ejemplo n.º 2
0
        public PartialViewResult DeptDetailsView(Guid?id)
        {
            CompwiseDepts m = new CompwiseDepts();

            m.companyTBL = _companyService.GetCompany((Guid)id);
            m.depts      = _companyService.GetDeptList(m.companyTBL.id);
            return(PartialView("DeptDetailsView", m));
        }