two scheduler in one controller in MVC

I am working in a ASP.Net MVC project and I need to use single controller but two view for displaying two different event scheduler on two different pages/views. But as per tutorials available there can be single Data function,

public ContentResult Data()
{
var data = new SchedulerAjaxData(
new List{
new TaskScheduler{


return (ContentResult)data;
}

But I need two different Data function for different scheduler. Please help.

Hi,
you can multiple actions for saving and loading data, action name can be set in DHXScheduler.DataAction/SaveAction properties, e.g.

var scheduler = new DHXScheduler(this); scheduler.DataAction = "Data"; scheduler.SaveAction = "Save";