예제 #1
0
        public List <UserViewModel> GetUserDetail()
        {
            IUserService us = new UserService(Settings.Default.db);
            User         u  = us.FindById(((ApiIdentity)HttpContext.Current.User.Identity).User.id);
            List <User>  ls = new List <User>();

            ls.Add(u);
            return(UserViewModel.Converts(ls));
        }