Ejemplo n.º 1
0
        // GET: Activity/Edit/5
        public ActionResult Edit(int id)
        {
            var result            = _actLogic.GetById(id);
            ActivityViewModel act = new ActivityViewModel()
            {
                Id = result.Id, Title = result.Title, Budget = result.Budget, Date = result.Date.ToString("mm-dd-yyyy"), Description = result.Description, OPDId = result.OPDId
            };

            return(View(act));
        }