コード例 #1
0
        // GET: Home/Delete/5
        public ActionResult Delete(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(System.Net.HttpStatusCode.BadRequest));
            }

            var emp = CapaNegocio.GetEmpleados(id.Value);

            return(View(emp));
        }
コード例 #2
0
        // GET: Home/Edit/5
        public ActionResult Edit(int id)
        {
            var emplear = CapaNegocio.GetEmpleados(id);

            return(View(emplear));
        }