Ejemplo n.º 1
0
        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)));
        }
Ejemplo n.º 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)));
        }