Пример #1
0
        public ActionResult Delete(int id)
        {
            var userId  = Guid.Parse(User.Identity.GetUserId());
            var service = new FollowUpStatusService(userId);
            var model   = service.GetFollowUpStatusById(id);

            return(View(model));
        }
Пример #2
0
        public ActionResult FollowUpStatusEdit(int id)
        {
            var userId  = Guid.Parse(User.Identity.GetUserId());
            var service = new FollowUpStatusService(userId);
            var detail  = service.GetFollowUpStatusById(id);
            var model   =
                new FollowUpStatusEdit
            {
                FollowUpStatusTypeID = detail.FollowUpStatusTypeID,
                Status      = detail.Status,
                Description = detail.Description
            };

            return(View(model));
        }