public ActionResult showdata([FromBody] AssignmentShowModel model) { List <Assignment> assignmentInfo = EmployeeAssignment.GetAssignmentsInfo(model.EmployeeNames, model.Year, model.Month + 1); return(Json(assignmentInfo)); }