Esempio n. 1
0
        public IActionResult Index(int?id)
        {
            Customers customer;

            if (id.HasValue && (customer = repostory.Get(id.Value)) != null)
            {
                return(View(customer));
            }
            else
            {
                return(NotFound());
            }
        }