Problem
How to implement repository pattern in asp.net core 2.1 visual studio 2017 with SQL server 2012 ?
i work on project work on repository pattern but i cannot implement it
model Employee
meaning how to define repository on constructor of controller
3- suppose i have compost key how to use getbyid suppose i have (Employeid,branchcode) as compost key ?
are compost key define as fluent api or annotation or what ?
please can you help me and give me details if possible
can any one answer me of this question please ?