Exemple #1
0
        public ActionResult EditAward(int id)
        {
            ViewBag.Message = "EditAward";
            var award = awardLogic.GetAwardByID(id);

            return(View(new AwardModel
            {
                ID = award.ID,
                Title = award.Title
            }));
        }
Exemple #2
0
        internal Award GetAwardByID(int id)
        {
            var award = awardLogic.GetAwardByID(id);

            return(award);
        }