public IActionResult Get()
 {
     try
     {
         return(Ok(DocumentManipulation.GetAllDocuments()));
     }
     catch (Exception ex)
     {
         Logger.LogError(ex.Message);
         throw new NSIException(ex.Message, DC.Exceptions.Enums.Level.Error, DC.Exceptions.Enums.ErrorType.InvalidParameter);
     }
 }
Exemple #2
0
 public void GetAllDocuments_Success()
 {
     _documentManipulation.GetAllDocuments();
 }