Ejemplo n.º 1
0
        public async Task <ActionResult> EditUser(string id)
        {
            UserDAL ud = new UserDAL();
            var     db = await ud.FindById(id);

            UserViewModel model = new UserViewModel();

            model = model.CastView(db);
            return(View(model));
        }