Esempio n. 1
0
        public async Task <ActionResult <GatewayResponse> > Get(int id)
        {
            var response = await _repository.GetAsync <GatewayResponse>(id);

            if (response == null)
            {
                return(NotFound());
            }

            return(response);
        }