Пример #1
0
        // GET: Store/Details/5
        public async Task <IActionResult> Details(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }


            var store = await storeBusiness.getStoreById(id.Value);

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

            return(View(store));
        }