// GET: Ajax calling public ActionResult DateRangeAjax() { var model = new DateRangePickerAjax(); model.startDate = new DateTime(2017, 11, 09); model.endDate = new DateTime(2017, 11, 21); return(View(model)); }
public ActionResult DateRangeAjax(DateRangePickerAjax model) { return(View(model)); }