コード例 #1
0
ファイル: OwnerController.cs プロジェクト: mgorijala/BGBCMgmt
        public ActionResult PropertyTenants(int id)
        {
            //Mohan code change is required to get property by owner id
            Property pro = _propertyRepo.Get(id);

            ViewBag.PropertyID   = id;
            ViewBag.PropertyName = pro.Name;
            return(View(BGBCFunctions.TenantOutstanding(id)));
        }
コード例 #2
0
        public ActionResult PropertyTenants(int id)
        {
            Property pro = _propertyRepo.Get(id);

            ViewBag.PropertyID   = id;
            ViewBag.PropertyName = pro.Name;
            ViewBag.UserId       = pro.UserID;

            //User userid = _propertyRepo.Get().Where(x => x.UserID == id);
            //ViewBag.UserId = userid;

            return(View(BGBCFunctions.TenantOutstanding(id)));
        }