Skip to content

Refactoring Tomasz Dobrowolski#10

Open
tomaszdobrowolski1 wants to merge 4 commits into
seanogt:masterfrom
tomaszdobrowolski1:master
Open

Refactoring Tomasz Dobrowolski#10
tomaszdobrowolski1 wants to merge 4 commits into
seanogt:masterfrom
tomaszdobrowolski1:master

Conversation

@tomaszdobrowolski1

@tomaszdobrowolski1 tomaszdobrowolski1 commented Aug 11, 2019

Copy link
Copy Markdown

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