Refactoring data layer
Refactoring model and dbcontext