// GET: Apartments
        public ActionResult Apartments()
        {
            List <ApartmentView> t;

            if (User.IsInRole("Admin"))
            {
                t = _myBll.GetAllViewApartments().ToList();
            }
            else
            {
                t = _myBll.GetAllAppliableViewApartments().ToList();
            }

            return(View(t));
        }