Example #1
0
        public virtual ActionResult New()
        {
            var model = new NewPhotoModel {
                Categories = _context.GetCategoriesList()
            };

            return(View(Views.New, model));
        }