Beispiel #1
0
        public async Task <IActionResult> DeleteConfirmed(int id)
        {
            var store = await storeBusiness.getStoreById(id);

            await storeBusiness.DeleteByStore(store);

            return(RedirectToAction(nameof(Index)));
        }