public ActionResult ReadNotifications() { var total_project = 0; var total_tasks = 0; var data = new Models.Home.Home(auth).ReadNotifications(ref total_project, ref total_tasks); return(Content(JsonConvert.SerializeObject(data), "application/json")); }
public ActionResult ViewGroup() { var data = new Models.Home.Home(auth).ViewGroup(); var output = new { data = data }; return(Content(JsonConvert.SerializeObject(output), "application/json")); }