This commit is contained in:
masoodafar-web
2025-11-17 23:49:48 +03:30
parent 51d1f9a6f5
commit 78e461909f
31 changed files with 48296 additions and 7383 deletions

View File

@@ -4,6 +4,7 @@ public interface IApplicationDbContext
{
DbSet<UserAddress> UserAddresss { get; }
DbSet<Package> Packages { get; }
DbSet<Category> Categories { get; }
DbSet<Role> Roles { get; }
DbSet<UserRole> UserRoles { get; }
DbSet<UserWallet> UserWallets { get; }
@@ -20,4 +21,4 @@ public interface IApplicationDbContext
DbSet<Contract> Contracts { get; }
DbSet<UserContract> UserContracts { get; }
Task<int> SaveChangesAsync(CancellationToken cancellationToken = default);
}
}

View File

@@ -0,0 +1,11 @@
namespace CMSMicroservice.Application.Common.Mappings;
public class CategoryProfile : IRegister
{
void IRegister.Register(TypeAdapterConfig config)
{
//config.NewConfig<Source,Destination>()
// .Map(dest => dest.FullName, src => $"{src.Firstname} {src.Lastname}");
}
}