public async Task <ActionResult> DeleteAsync(int id) { if (!service.NodeTypeExists(id)) { return(NotFound()); } await service.DeleteAsync(id); return(NoContent()); }
public async Task <ActionResult> DeleteAsync(int id) { await service.DeleteAsync(id); return(NoContent()); }