КОМЕНТАРІ •

  • @fifty-plus
    @fifty-plus 10 місяців тому +4

    DbSet is your repository and DbContext is your UoW, you don't need to wrap a repository in a repository. It is much simpler and cleaner to create a service layer that consumes the DbContext/s.

    • @dotnetrealworldexample
      @dotnetrealworldexample 10 місяців тому

      This session I tried to cover only uow with generic repository in upcoming session I will use it in clean architecture which is already in my chanel

  • @MostakAhammedOfficial
    @MostakAhammedOfficial 10 місяців тому +1

    Nice and simple explanation. Waiting for the unit of work implementation and explanation about how UoW works. I request to u that, If u can create Service layer which will directly injected in the controller like IProductService, IOrderService, IBlogService.

    • @dotnetrealworldexample
      @dotnetrealworldexample 10 місяців тому

      Sure, in my chanel I already cover service layer you can check out even I create complete session of clean architecture you can refer that.

    • @S3Kglitches
      @S3Kglitches 10 місяців тому

      You already have Unit of Work and it's called Entity Framework DbContext.

  • @ankitkumarsingh6197
    @ankitkumarsingh6197 7 місяців тому +1

    Awesome brother, I like to way of teaching, bother do one thing please share the code in the description

  • @jnicoulakos
    @jnicoulakos 2 місяці тому

    Great video, can you please share the project with us?

  • @S3Kglitches
    @S3Kglitches 10 місяців тому

    CRUD and real world are two opposite things

    • @dotnetrealworldexample
      @dotnetrealworldexample 10 місяців тому +1

      This sample we can used in our real project easily. In upcoming session I will use in our clean architecture