Return JSON Object from API Controller ASP.Net C# (MVC)
public IHttpActionResult GetNotification()
{
UserRepository ob = new UserRepository();
List<NotificationAPIModel> data = new List<NotificationAPIModel>();
data = ob.GetNotificationAPI("0", "2");