Пример #1
0
        // GET: Nominas/Delete/5
        public ActionResult Delete(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(System.Net.HttpStatusCode.BadRequest));
            }

            var nomina = CapaNegocio.GetNomina(id.Value);

            return(View(nomina));
        }
Пример #2
0
        // GET: Nominas/Edit/5
        public ActionResult Edit(int id)
        {
            var nomina = CapaNegocio.GetNomina(id);

            return(View(nomina));
        }