public GetUsersResorce GetWhereUserResourceOne(User u)
        {
            GetCompany cmp = new GetCompany()
            {
                Bs          = u.Company.Bs,
                Name        = u.Company.Name,
                CatchPhrase = u.Company.CatchPhrase
            };
            GetGeo ge = new GetGeo()
            {
                Lat = u.Address.Geo.Lat,
                Lng = u.Address.Geo.Lng,
            };
            GetAddress adrs = new GetAddress()
            {
                City    = u.Address.City,
                Street  = u.Address.Street,
                Suite   = u.Address.Suite,
                Zipcode = u.Address.Zipcode,
                getGeo  = ge,
            };
            GetUsersResorce userResource = new GetUsersResorce()
            {
                id       = u.Id,
                address  = adrs,
                company  = cmp,
                email    = u.Email,
                name     = u.Name,
                phone    = u.Phone,
                username = u.Username,
                website  = u.Website
            };

            return(userResource);
        }
        public List <GetUsersResorce> GetWhereUserResource(IEnumerable <User> userListResponse)
        {
            List <GetUsersResorce> resources = new List <GetUsersResorce>();

            foreach (var item in userListResponse)
            {
                GetCompany cmp = new GetCompany()
                {
                    Bs          = item.Company.Bs,
                    Name        = item.Company.Name,
                    CatchPhrase = item.Company.CatchPhrase
                };
                GetGeo ge = new GetGeo()
                {
                    Lat = item.Address.Geo.Lat,
                    Lng = item.Address.Geo.Lng,
                };
                GetAddress adrs = new GetAddress()
                {
                    City    = item.Address.City,
                    Street  = item.Address.Street,
                    Suite   = item.Address.Suite,
                    Zipcode = item.Address.Zipcode,
                    getGeo  = ge,
                };
                GetUsersResorce userResource = new GetUsersResorce()
                {
                    id       = item.Id,
                    address  = adrs,
                    company  = cmp,
                    email    = item.Email,
                    name     = item.Name,
                    phone    = item.Phone,
                    username = item.Username,
                    website  = item.Website
                };

                resources.Add(userResource);
            }

            return(resources);
        }