public async Task <ActionResult <ResponseDto <int> > > AddSharedDocument(string recipient, string documentName) { var result = await _documentsService.AddSharedDocument(recipient, documentName); if (result.HasErrors) { return(BadRequest(result)); } return(Ok(result)); }