Exemplo n.º 1
0
        // GET: TenantDepartment/Details/5
        public ActionResult Details(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            TenantDepartments tenantDepartments = _LookupService.GetTenantDepartmentById(id ?? 0);

            if (tenantDepartments == null)
            {
                return(HttpNotFound());
            }
            return(View(tenantDepartments));
        }