Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring Tomasz Dobrowolski #10

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

tomaszdobrowolski1
Copy link

@tomaszdobrowolski1 tomaszdobrowolski1 commented Aug 11, 2019

The goal of my code was to move the existing ADO.NET (legacy) logic out to prevent any bugs (leave what has been tested and works) and make it ready for replacement (by entity framework etc). Hence didn't spend time on making ADO.NET code pretty.

Interfaced everything and made it ready for DI (Dependency Injection)

potential tasks pending:

  • move connectionstrings to web.config /resource files

  • implement dependency injection

  • replace ADO.NET with entity Framework

  • add unit tests for service layer :

    public bool PlaceOrder(Order order, int customerId)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant