Exemple #1
0
        public ActionResult Delete(string id)
        {
            var model = _shippingPointService.GetStoreShippingPointById(id);

            _shippingPointService.DeleteStoreShippingPoint(model);

            return(new NullJsonResult());
        }
Exemple #2
0
        public async Task <IActionResult> Delete(string id)
        {
            var model = await _shippingPointService.GetStoreShippingPointById(id);

            await _shippingPointService.DeleteStoreShippingPoint(model);

            return(new NullJsonResult());
        }