public ActionResult <IEnumerable <Documents> > GetDocuments(string Id) { var documents = _documentsRepository.FindDocumentsByEmpId(Id).ToList(); return(documents); }