Exemple #1
0
        public ActionResult History(Guid id)
        {
            var actionList     = _readRepo.CitesteActiuni(id, Session["Username"].ToString());
            var thisActionList = new List <ActionModel>();

            if (actionList != null)
            {
                foreach (ActionDTO action in actionList)
                {
                    thisActionList.Add(GenereazaActionModelView(action));
                }
                return(View("History", thisActionList));
            }

            return(View());
        }