Exemplo n.º 1
0
        public IActionResult UpdatePhoto(int id)
        {
            var model = _photoStorage.GetElement(id);

            ViewBag.Genres        = _genreStorage.GetFullList();
            ViewBag.Photographers = _photographerStorage.GetFullList();
            return(View(model));
        }