feat : create store and repository and interface

This commit is contained in:
2025-11-23 18:25:59 +03:30
parent 41aaef9889
commit 5774d9e204
21 changed files with 601 additions and 1 deletions
+6
View File
@@ -1,7 +1,10 @@
using Application.Aggregates.Stores;
using Application.Aggregates.Users;
using Domain.Aggregates.Stores.Data;
using Domain.Aggregates.Users.Data;
using Microsoft.EntityFrameworkCore;
using Persistence;
using Persistence.Repositories.Aggregates.Stores;
using Persistence.Repositories.Aggregates.Users;
using Server.Infrastructure.Extensions.ServiceCollections;
@@ -28,6 +31,9 @@ public class Program
builder.Services.AddScoped<IUserRepository, UserRepository>();
builder.Services.AddScoped<UsersApplication>();
builder.Services.AddScoped<IStoreRepository, StoreRepository>();
builder.Services.AddScoped<StoresApplication>();
var app = builder.Build();
if (!app.Environment.IsDevelopment())