- Entity Framework Core Code First
- New Models Created, relationships
- AccountType
- AssociatedIndividual
- PersonalAccount
- CorporateAccount
- CompanyOfficer
- DB Context Created
- Service Layer Created for Business Logic
- PersonalAccountService
- CorporateAccountService
- AccountTypeService
- Injected DB Context at Service, Configured the same at Startup.cs, Also Configured db at appsetting.json
- Injected Services at API Controllers and configured the same at Startup.cs
- Services URL :
- To Add Personal Account : http://localhost:65128/api/PersonalAccount/AddPersonalAccount
- Get all Personal Accounts : http://localhost:65128/api/PersonalAccount
- To Add Corporate Account : http://localhost:65128/api/CorporateAccount/AddCorporateAccount
- Get all Corporate Accounts : http://localhost:65128/api/CorporateAccount
- Get all Account Types : http://localhost:65128/api/AccountType
- UnitTest Case : Unit Test Case to test insert / select using mock data framework.
rathinpadia/IPSRegistrationAPI
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|