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
Rajendra Taradale
748
1.2k
649.1k
How can I use web API action method in another action method
Jan 12 2019 6:53 AM
For Example
Method1()
{
Return Ok(Some Complex Type)
}
Method2()
{
Some results = Method1()
}
By default OK(Object) return type is Microsoft.AspNetCore.Mvc.OkObjectResult
In some scenarios, I want to use the existing API method and I want that response in a readable format, so we need to convert Microsoft.AspNetCore.Mvc.OkObjectResult to custom type
Reply
Answers (
2
)
how to convert static variable to non static normal variabl
RECOMMENDATION ocr recognising pdf documents c#