Example #1
0
        // GET: Claims/Details/5
        public ActionResult DetailsBill(int id)
        {
            if (id == 0)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            mission miss = ms.GetById((id));

            IEnumerable <bill> b = cs.GetBillsByIdMission(id);

            if (b == null)
            {
                ViewBag.nombre = "0";
            }
            else
            {
                ViewBag.Result = b;
            }

            if (miss == null)
            {
                return(HttpNotFound());
            }
            return(View(b));
        }