public JsonResult EditEmpById(string id) { DateMonthYear dayMonth = new DateMonthYear() { Day = "22", Month = "12", Year = "2012" }; return(Json(dayMonth, JsonRequestBehavior.AllowGet)); }
public JsonResult AddEmp(DateMonthYear dateMonthYear) { return(Json(1, JsonRequestBehavior.AllowGet)); }