// 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));
        }
        // GET: Nominas/Edit/5
        public ActionResult Edit(int id)
        {
            var nomina = CapaNegocio.GetNomina(id);

            return(View(nomina));
        }