public ActionResult Edit(DAL.Student std) { var edit = _Bll.Edit(std); return(View(edit)); }
public void saveData(object sender, EventArgs e) { if (IsValid) { //TypeBO aux = (TypeBO)typeDropDownList.SelectedItem; studentBLL.Edit(int.Parse(id.Value), int.Parse(typeDropDownList.SelectedItem.Value.ToString()), name.Text, char.Parse(gender.SelectedValue)); Response.Redirect("index.aspx"); } }