Пример #1
0
        public override ActionResult Index()
        {
            var user = UserManager.FindByName(User.Identity.Name);

            ViewBag.AnyToRate = CarrierService.GetAllCanRate(user.Id).Any();
            return(View(((ICarrierRateService)Service).GetAllForUser(user.Id)));
        }