From f63f4eaa47e3067e44efbf967b68433865fd56a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Sat, 28 Jun 2025 13:22:14 +0300 Subject: [PATCH] Fix part-05 --- docs/en/tutorials/modular-crm/part-05.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/docs/en/tutorials/modular-crm/part-05.md b/docs/en/tutorials/modular-crm/part-05.md index 4b40dedd0a..139c4a9a8b 100644 --- a/docs/en/tutorials/modular-crm/part-05.md +++ b/docs/en/tutorials/modular-crm/part-05.md @@ -75,7 +75,6 @@ Open your IDE, in `Data` folder under the `ModularCrm.Ordering` project, and edi ````csharp using Microsoft.EntityFrameworkCore; -using ModularCrm.Ordering.Entities; using Volo.Abp.Data; using Volo.Abp.EntityFrameworkCore; @@ -92,7 +91,6 @@ Afterwards, create *Orders* `DbSet` for the `OrderingDbContext` class in the `Da ````csharp using Microsoft.EntityFrameworkCore; -using ModularCrm.Ordering.Entities; using Volo.Abp.Data; using Volo.Abp.EntityFrameworkCore; @@ -103,9 +101,10 @@ public class OrderingDbContext : AbpDbContext, IOrderingDbCon { public DbSet Orders { get; set; } - public OrderingDbContext(DbContextOptions options) : base(options) + public OrderingDbContext(DbContextOptions options) + : base(options) { - + } protected override void OnModelCreating(ModelBuilder builder) @@ -123,7 +122,6 @@ It is best to configure the database table mapping for the `Order` entity in the ````csharp using Microsoft.EntityFrameworkCore; -using ModularCrm.Ordering.Entities; using Volo.Abp; using Volo.Abp.EntityFrameworkCore.Modeling; @@ -184,7 +182,7 @@ public class ModularCrmDbContext : protected override void OnModelCreating(ModelBuilder builder) { ... - builder.ConfigureOrdering(); //NEW: CALL THE EXTENSION METHOD + builder.ConfigureOrdering(); } ```` @@ -309,7 +307,7 @@ using System.Collections.Generic; using System.Threading.Tasks; using Volo.Abp.Domain.Repositories; -namespace ModularCrm.Ordering.Services; +namespace ModularCrm.Ordering; public class OrderAppService : OrderingAppService, IOrderAppService {