Exemple #1
0
 public IActionResult Get(long CustomerId)
 {
     try
     {
         return(Ok(_customerApplicationService.getById(CustomerId)));
     }
     catch (Exception)
     {
         return(StatusCode(Constantes.HttpStatus.ErrorServer, this.responseHandler.getAppExceptionResponse()));
     }
 }