public async Task <ActionResult <GatewayResponse> > Get(int id) { var response = await _repository.GetAsync <GatewayResponse>(id); if (response == null) { return(NotFound()); } return(response); }