public Response GetResponseById(string id) { var response = _repo.GetResponseById(id); if (response == null) { throw new Exception("Bad response ID"); } return(response); }
public Response GetResponseById(string id) { var response = _repo.GetResponseById(id); if (response == null) { throw new Exception("Not a valid ID. Try again."); } return(response); }