Beispiel #1
0
        // GET: AccountOffers
        public ActionResult Index()
        {
            AccountOfferService _accountOfferService = CreateAccountOfferService();
            var model = _accountOfferService.GetAccountOffers();

            return(View(model.ToList()));
        }
Beispiel #2
0
        private AccountOfferService CreateAccountOfferService()
        {
            var userId = Guid.Parse(User.Identity.GetUserId());
            var _accountOfferService = new AccountOfferService(userId);

            return(_accountOfferService);
        }