public void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/plain"; string id = context.Request["id"]; int n = bll.DelLeave(id); context.Response.Write(n); }
public ActionResult DelLeave(string[] stime, string[] etime) { return(Content(leaveBLL.DelLeave(stime, etime).ToString())); }