public void Delete(int id) { var argument = _argumentService.GetById(id); _argumentService.Delete(id); _slugService.Delete(argument.slugId); }
public IActionResult Delete(int id) { _argumentService.Delete(id); return(Ok()); }