Esempio n. 1
0
        // GET: SalesInvoices/Details/5
        public ActionResult Details(int id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            SalesInvoice salesInvoice = _salesInvoiceService.FindById(id);

            if (salesInvoice == null)
            {
                return(HttpNotFound());
            }
            return(View(salesInvoice));
        }