Esempio n. 1
0
        /// <summary>
        /// Return the list of pensions.
        /// </summary>
        /// <returns></returns>
        public ActionResult Index()
        {
            var model = _pensionService.GetPensions(CurrentUser).OrderByDescending(x => x.StartDate).ToList();

            return(View(model));
        }
 public IEnumerable <PensionList> GetList(string userId)
 {
     return(_PensionService.GetPensions(userId));
 }