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);
     }
 }
Пример #2
0
 public void GetAllDocuments_Success()
 {
     _documentManipulation.GetAllDocuments();
 }