Esempio n. 1
0
        public JsonResult EditEmpById(string id)
        {
            DateMonthYear dayMonth = new DateMonthYear()
            {
                Day = "22", Month = "12", Year = "2012"
            };

            return(Json(dayMonth, JsonRequestBehavior.AllowGet));
        }
Esempio n. 2
0
 public JsonResult AddEmp(DateMonthYear dateMonthYear)
 {
     return(Json(1, JsonRequestBehavior.AllowGet));
 }