コード例 #1
0
 public async Task <Response> DeleteAsync(int id)
 {
     return(await _sellerService.DeleteSellerAsync(id));
 }
コード例 #2
0
        public async Task <IActionResult> DeleteConfirmed(Guid id)
        {
            await _sellerService.DeleteSellerAsync(id);

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