public UserInfo GetAllInfoUser(int id)
        {
            UserInfo user      = null;
            var      usInfo    = dbuser.GetUser(id);
            var      direction = dbuser.GetDirection(id);

            if (usInfo != null)
            {
                user = new UserInfo
                {
                    Surname  = usInfo.name_first,
                    Name     = usInfo.name_middle,
                    LastName = usInfo.name_last,
                    Phone    = usInfo.phone,
                    Mail     = usInfo.mail,
                    Login    = usInfo.C_login,
                    Password = usInfo.C_password,
                    Country  = direction[0],
                    Region   = direction[1],
                    City     = direction[2],
                    Image    = url.photoProfileUserPuth + usInfo.C_image
                };
            }

            return(user);
        }