Changed properties in dbContext to public (internal causes exception)