Added Delete But Doesn't Work

Added delete functionality as per tutorial but it’s not working… But I
can delete directly from the database so….