Esempio n. 1
0
        public ActionResult Change(FormCollection formCollection)
        {
            StaffInOutHistoryDAL.UpdateStatus(int.Parse(Request.Form["id"].ToString()), int.Parse(Session["UserID"].ToString()), int.Parse(Request.Form["Status"].ToString()));

            return(Redirect("Home"));
        }
 private void btnSubmit_Click(object sender, EventArgs e)
 {
     StaffInOutHistoryDAL.UpdateStatus(int.Parse(employee[0].ToString()), UserID, int.Parse(cmbStatus.SelectedValue.ToString()));
     this.Close();
 }