Ejemplo n.º 1
0
        public async Task <ActionResult> UserEdit(Guid id)
        {
            IBLL.IUserManager userManager = new BLL.UserManager();
            var user = await userManager.GetOneUserById(id);

            return(View(new AdminListViewModel()
            {
                Id = user.Id,
                Email = user.Email,
                ImagePath = user.ImagePath,
                SiteName = user.SiteName,
                FansCount = user.FansCount,
                FocusCount = user.FocusCount,
                Type = user.Type
            }));
        }