Beispiel #1
0
        // GET: LogisticsCenters/Delete/5
        public async Task <IActionResult> Delete(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            var logisticsCenter = _dbAccess.FindLogisticsCenter(id.Value);

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

            return(View(logisticsCenter));
        }