public async Task <IHttpActionResult> Get([FromUri] Pagination model) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } var timeZones = await _timeZoneService.GeTimeZones().ToPagedListAsync(model).ConfigureAwait(false); var retVal = _mapping.Map <PagedListViewModel <TimeZoneListViewModel> >(timeZones); return(Ok(retVal)); }