public JsonResult ChangeStatus(int contactid) { ContactDAO contactDAO = new ContactDAO(); var tempstatus = contactDAO.ChangeStatus(contactid); return(Json(new { status = tempstatus })); }
public JsonResult ChangeStatus(int contactid) { ContactDAO contactDAO = new ContactDAO(); var tempstatus = contactDAO.ChangeStatus(contactid); return(Json(new { status = tempstatus })); }