Exemplo n.º 1
0
        public ActionResult Show()
        {
            var model = new HistoryModel();

            model.SetUser(Helper.GetUserModel());

            model.HistoryPackModelCollection =
                this.PrimeEwsiDbApi.GetHistoryPacksByUserId(model.UserId).OrderByDescending(p => p.Id).ToList();

            return(View(model));
        }