Skip to content

.Net Core MVC showcase application for a car dealership with a customer and admin space.

Notifications You must be signed in to change notification settings

nicolasiten/CarHub

Repository files navigation

CarHub

page

Projects

Project Structure: N-Tier

CarHub.Core

  • Business/Application Model
  • Business Logic

CarHub.Infrastructure

  • Data Access Logic
    • EF Migrations
    • EF DbContext and model design

CarHub.Web

  • Presentation Logic

*.Tests

  • Unit and Integration Tests

Comments

DB Access

For the DB Access there is a generic Repository (EfRepository) in the Infrastructe project. There must be one class that implements the AbstractValidator (FluentValidation) for each entity. Entities get validated on each Add/Update.

DB Configuration

For each entity there is a Configuration class that implements the IEntityTypeConfigurator.

Mappings

Mappings between Entities and Models are done with the AutoMapper.

About

.Net Core MVC showcase application for a car dealership with a customer and admin space.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published