public async Task <IHttpActionResult> Get() { try { var result = await _repo.GetAllZipCodesAsync(); return(Ok(result)); } catch (Exception ex) { return(BadRequest(ex.Message)); } }
public async Task <IHttpActionResult> Get() { try { var result = await _repo.GetAllZipCodesAsync(); return(Ok(result)); } catch (Exception ex) { return(BadRequest(ex.Message)); } }