Esempio n. 1
0
        //
        // GET: /Words/Details/5

        public ViewResult Details(Guid id)
        {
            if (!UserHelper.GetCurrent().IsAdmin)
            {
                return(View("AccesoDenegdo"));
            }
            return(View(_wordRepository.GetById(id)));
        }