Esempio n. 1
0
        // GET: Subscribers/Details/5
        public async Task <IActionResult> Details(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            var subscriber = await _invoicesRepository.GetSubscriberAsync(id.Value);

            if (subscriber == null)
            {
                return(NotFound());
            }

            return(View(subscriber));
        }