TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Pinku
1.5k
300
45.1k
How to create download option in api with csharp
Nov 6 2019 6:25 AM
public virtual JPResponse<string> GetResumeByApplicationID(INeo neo, string applicationID)
{
var response = new JPResponse<string>();
try
{
MXResumeWordDoc resumeWordDoc = new MXResumeWordDoc();
var IsResumeLoaded = resumeWordDoc.LoadResumeWordDocByDID(neo as Neo, applicationID);
if (IsResumeLoaded)
{
string fileExtension = System.IO.Path.GetExtension(resumeWordDoc.Elements.FileName.Value).ToLower();
if (resumeWordDoc.Elements.FileName != null)
{
//if the above condition satisfy i want to create a download option here.
How can I do it??
}
}
response.Results.Add(IsResumeLoaded.ToString());
}
catch (Exception ex)
{
neo.SendInformationalMXM("ResumeService", ex.Message, ex, this, "ResumeService.GetResume");
throw ex;
}
return response;
}
Reply
Answers (
2
)
JWT Referesh Token
Index (zero based) must be greater than or equal to zero