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
Methoun Ahmed
NA
145
102k
Cannot implicity convert type'System.web.Mvc.JsonResult
Nov 18 2017 3:02 AM
How to solved the problem.
Cannot implicity convert type'System.web.Mvc.JsonResult 'to 'System.Action
*****Here is my code********
public Action GetEmployee()
{
using (MyDatabaseEntities dc = new MyDatabaseEntities())
{
var employees = dc.Employees.OrderBy(a => a.FirstName).ToList();
return Json(new { data = employees }, JsonRequestBehavior.AllowGet);
}
}
Reply
Answers (
1
)
send refer code through whatsapp to invite them
Session id length and change session id after login