*bugs in repository or not correct using EF