Ejemplo n.º 1
0
        public async Task <IActionResult> getOneStore(int Id)
        {
            _logger.LogInformation("Getting store by id", Id);
            var store = await _storesRepository.GetOneStoreById(Id);

            return(store == null ? (IActionResult)NotFound() : Ok(store));
        }