public Task <Document> GetDocumentByIdAsync(string id)
 {
     return(_documentsRepository.GetDocumentByIdAsync(id));
 }