public IActionResult Get()
        {
            var pagination = Request.Headers["Pagination"];

            if (!string.IsNullOrEmpty(pagination))
            {
                string[] vals = pagination.ToString().Split(',');
                int.TryParse(vals[0], out page);
                int.TryParse(vals[1], out pageSize);
            }

            int currentPage     = page;
            int currentPageSize = pageSize;
            var totalAddress    = _addressRepository.Count();
            var totalPages      = (int)Math.Ceiling((double)totalAddress / pageSize);

            IEnumerable <Address> _address = _addressRepository
                                             .GetAll()
                                             .OrderBy(u => u.Id)
                                             .Skip((currentPage - 1) * currentPageSize)
                                             .Take(currentPageSize)
                                             .ToList();

            IEnumerable <AddressViewModel> _addressVM = Mapper.Map <IEnumerable <Address>, IEnumerable <AddressViewModel> >(_address);

            Response.AddPagination(page, pageSize, totalAddress, totalPages);

            return(new OkObjectResult(_addressVM));
        }