ApplicationDbContext delete entry bug fixed and IDeletableEntityRepository updated with delete logic