Пример #1
0
        public IActionResult Get()
        {
            _logger.CustomInformation(user: "******", enviornment: "Dev", informationMessage: "Data Added Successfully");
            _logger.CustomError(errorMessage: "Data Critical Added Successfully");
            _logger.CustomFatal(fatalMessage: "Data Error Added Successfully");

            var result = _customerService.GetCustomers();

            return(Ok(result));
        }