Exemple #1
0
        public ActionResult Update(Int64 videoID, Int64 munitionID)
        {
            ActionResult oResponse = View(videoID);


            try
            {
                VideosDO videos        = dataAccess.ViewVideosByID(videoID);
                VideosPO displayObject = VideosMapper.MapDOtoPO(videos);
                oResponse = View(displayObject);
            }
            catch (Exception ex)
            {
                TempData["Message"] = "Video could not be updated at this time.";
            }

            return(oResponse);
        }