public GetStatesResponse GetStates() { GetStatesResponse response = new GetStatesResponse(); try { response.StateTaxes = _taxRepo.GetStateTaxes().ToList(); response.Success = true; return(response); } catch (Exception e) { response.Success = false; response.Message = "Error: something went wrong getting info from the state tax repository. Contact IT.\n" + $"(System Error Message: {e.Message})"; return(response); } }