CHANGE PROJECT NAME TO " NETINA "
|
@ -24,16 +24,25 @@
|
|||
"KaveNegarApiKey": "3735494B4143727A794346457461576A2B4B6668414973424E333561505A694B",
|
||||
"UserSetting": {
|
||||
"Username": "09214802813",
|
||||
"Email": "info@netinashop.io",
|
||||
"Email": "avvampier@gmail.com",
|
||||
"Password": "eF79o4P4BopCUbUK",
|
||||
"Phone": "09214802813",
|
||||
"RoleName": "RootAdmin",
|
||||
"FirstName": "همه کاره",
|
||||
"LastName": "سیستم"
|
||||
},
|
||||
"Manager": {
|
||||
"Username": "09128387004",
|
||||
"Email": "mahanmasiha6@gmail.com",
|
||||
"Password": "eF79o4P4BopCUbUK",
|
||||
"Phone": "09128387004",
|
||||
"RoleName": "Manager",
|
||||
"FirstName": "ماهان",
|
||||
"LastName": ""
|
||||
},
|
||||
"StorageSetting": {
|
||||
"AccessKey": "d37a1cc6acfea3a6f92c538ef0f6601f1edcdc9143942b6470e5d1032aa6bfe2",
|
||||
"SecretKey": "979313b7-30fb-40ff-94d8-d0390d3fa876",
|
||||
"AccessKey": "979313b7-30fb-40ff-94d8-d0390d3fa876",
|
||||
"SecretKey": "d37a1cc6acfea3a6f92c538ef0f6601f1edcdc9143942b6470e5d1032aa6bfe2",
|
||||
"BucketKey": "vesmeh-content"
|
||||
},
|
||||
"JwtSettings": {
|
|
@ -1,4 +1,7 @@
|
|||
namespace NetinaShop.Api.Controller;
|
||||
using Netina.Core.CoreServices.Abstracts;
|
||||
using Netina.Domain.Dtos.RequestDtos;
|
||||
|
||||
namespace Netina.Api.Controller;
|
||||
|
||||
|
||||
public class AuthController : ICarterModule
|
|
@ -1,6 +1,10 @@
|
|||
using NetinaShop.Domain.Entities.Blogs;
|
||||
using Netina.Common.Models.Exception;
|
||||
using Netina.Domain.Dtos.SmallDtos;
|
||||
using Netina.Domain.Entities.Blogs;
|
||||
using Netina.Domain.Models.Claims;
|
||||
using Netina.Repository.Repositories.Base.Contracts;
|
||||
|
||||
namespace NetinaShop.Api.Controller;
|
||||
namespace Netina.Api.Controller;
|
||||
|
||||
public class BlogCategoryController : ICarterModule
|
||||
{
|
|
@ -1,6 +1,10 @@
|
|||
using NetinaShop.Domain.Entities.Blogs;
|
||||
using Netina.Common.Models.Exception;
|
||||
using Netina.Domain.Dtos.LargDtos;
|
||||
using Netina.Domain.Entities.Blogs;
|
||||
using Netina.Domain.Models.Claims;
|
||||
using Netina.Repository.Repositories.Base.Contracts;
|
||||
|
||||
namespace NetinaShop.Api.Controller;
|
||||
namespace Netina.Api.Controller;
|
||||
|
||||
public class BlogController : ICarterModule
|
||||
{
|
|
@ -1,6 +1,10 @@
|
|||
using NetinaShop.Domain.Entities.Brands;
|
||||
using Netina.Domain.CommandQueries.Commands;
|
||||
using Netina.Domain.CommandQueries.Queries;
|
||||
using Netina.Domain.Entities.Brands;
|
||||
using Netina.Domain.Models.Claims;
|
||||
using Netina.Repository.Repositories.Base.Contracts;
|
||||
|
||||
namespace NetinaShop.Api.Controller;
|
||||
namespace Netina.Api.Controller;
|
||||
|
||||
public class BrandController : ICarterModule
|
||||
{
|
|
@ -1,4 +1,7 @@
|
|||
namespace NetinaShop.Api.Controller;
|
||||
using Netina.Core.BaseServices.Abstracts;
|
||||
using Netina.Domain.Models.Claims;
|
||||
|
||||
namespace Netina.Api.Controller;
|
||||
|
||||
public class DashboardController : ICarterModule
|
||||
{
|
|
@ -1,4 +1,8 @@
|
|||
namespace NetinaShop.Api.Controller;
|
||||
using Netina.Domain.CommandQueries.Commands;
|
||||
using Netina.Domain.CommandQueries.Queries;
|
||||
using Netina.Domain.Models.Claims;
|
||||
|
||||
namespace Netina.Api.Controller;
|
||||
|
||||
public class DiscountController : ICarterModule
|
||||
{
|
|
@ -1,4 +1,6 @@
|
|||
namespace NetinaShop.Api.Controller;
|
||||
using Netina.Core.Abstracts;
|
||||
|
||||
namespace Netina.Api.Controller;
|
||||
|
||||
public class DistrictController : ICarterModule
|
||||
{
|
|
@ -1,6 +1,9 @@
|
|||
using NetinaShop.Domain.Enums;
|
||||
using Netina.Common.Models.Api;
|
||||
using Netina.Core.Abstracts;
|
||||
using Netina.Domain.Enums;
|
||||
using Netina.Domain.Models.Claims;
|
||||
|
||||
namespace NetinaShop.Api.Controller;
|
||||
namespace Netina.Api.Controller;
|
||||
|
||||
public class FileController : ICarterModule
|
||||
{
|
|
@ -1,6 +1,8 @@
|
|||
using MD.PersianDateTime.Standard;
|
||||
using Netina.Common.Models.Api;
|
||||
using Netina.Core.BaseServices.Abstracts;
|
||||
|
||||
namespace NetinaShop.Api.Controller;
|
||||
namespace Netina.Api.Controller;
|
||||
|
||||
public class HealthController : ICarterModule
|
||||
{
|
|
@ -1,6 +1,6 @@
|
|||
using NetinaShop.Api.Views.Home;
|
||||
using Netina.Api.Views.Home;
|
||||
|
||||
namespace NetinaShop.Api.Controller;
|
||||
namespace Netina.Api.Controller;
|
||||
|
||||
[Route("")]
|
||||
[AllowAnonymous]
|
|
@ -1,4 +1,8 @@
|
|||
namespace NetinaShop.Api.Controller;
|
||||
using Netina.Domain.CommandQueries.Commands;
|
||||
using Netina.Domain.CommandQueries.Queries;
|
||||
using Netina.Domain.Models.Claims;
|
||||
|
||||
namespace Netina.Api.Controller;
|
||||
|
||||
public class NewsletterMemberController : ICarterModule
|
||||
{
|
|
@ -1,6 +1,10 @@
|
|||
using NetinaShop.Domain.Enums;
|
||||
using Netina.Domain.CommandQueries.Commands;
|
||||
using Netina.Domain.CommandQueries.Queries;
|
||||
using Netina.Domain.Dtos.RequestDtos;
|
||||
using Netina.Domain.Enums;
|
||||
using Netina.Domain.Models.Claims;
|
||||
|
||||
namespace NetinaShop.Api.Controller;
|
||||
namespace Netina.Api.Controller;
|
||||
|
||||
public class OrderBagController : ICarterModule
|
||||
{
|
|
@ -1,6 +1,9 @@
|
|||
using NetinaShop.Domain.Enums;
|
||||
using Netina.Domain.CommandQueries.Commands;
|
||||
using Netina.Domain.CommandQueries.Queries;
|
||||
using Netina.Domain.Enums;
|
||||
using Netina.Domain.Models.Claims;
|
||||
|
||||
namespace NetinaShop.Api.Controller;
|
||||
namespace Netina.Api.Controller;
|
||||
public class OrderController : ICarterModule
|
||||
{
|
||||
public void AddRoutes(IEndpointRouteBuilder app)
|
|
@ -1,4 +1,8 @@
|
|||
namespace NetinaShop.Api.Controller;
|
||||
using Netina.Core.CoreServices.Abstracts;
|
||||
using Netina.Domain.Dtos.RequestDtos;
|
||||
using Netina.Domain.Models.Claims;
|
||||
|
||||
namespace Netina.Api.Controller;
|
||||
|
||||
public class PageController : ICarterModule
|
||||
{
|
|
@ -1,7 +1,9 @@
|
|||
using static FastExpressionCompiler.ExpressionCompiler;
|
||||
using Netina.Core.Abstracts;
|
||||
using Netina.Domain.CommandQueries.Queries;
|
||||
using Netina.Domain.Models.Claims;
|
||||
using TypedResults = Microsoft.AspNetCore.Http.TypedResults;
|
||||
|
||||
namespace NetinaShop.Api.Controller;
|
||||
namespace Netina.Api.Controller;
|
||||
|
||||
public class PaymentController : ICarterModule
|
||||
{
|
|
@ -1,4 +1,8 @@
|
|||
namespace NetinaShop.Api.Controller;
|
||||
using Netina.Domain.CommandQueries.Commands;
|
||||
using Netina.Domain.CommandQueries.Queries;
|
||||
using Netina.Domain.Models.Claims;
|
||||
|
||||
namespace Netina.Api.Controller;
|
||||
|
||||
public class ProductCategoryController : ICarterModule
|
||||
{
|
|
@ -1,6 +1,9 @@
|
|||
using NetinaShop.Domain.Enums;
|
||||
using Netina.Domain.CommandQueries.Commands;
|
||||
using Netina.Domain.CommandQueries.Queries;
|
||||
using Netina.Domain.Enums;
|
||||
using Netina.Domain.Models.Claims;
|
||||
|
||||
namespace NetinaShop.Api.Controller;
|
||||
namespace Netina.Api.Controller;
|
||||
|
||||
public class ProductController : ICarterModule
|
||||
{
|
|
@ -1,4 +1,8 @@
|
|||
namespace NetinaShop.Api.Controller;
|
||||
using Netina.Domain.CommandQueries.Commands;
|
||||
using Netina.Domain.CommandQueries.Queries;
|
||||
using Netina.Domain.Models.Claims;
|
||||
|
||||
namespace Netina.Api.Controller;
|
||||
|
||||
public class ProductReviewController : ICarterModule
|
||||
{
|
|
@ -1,6 +1,8 @@
|
|||
using NetinaShop.Core.EntityServices.Abstracts;
|
||||
using Netina.Core.EntityServices.Abstracts;
|
||||
using Netina.Domain.Dtos.RequestDtos;
|
||||
using Netina.Domain.Models.Claims;
|
||||
|
||||
namespace NetinaShop.Api.Controller;
|
||||
namespace Netina.Api.Controller;
|
||||
|
||||
public class RoleController : ICarterModule
|
||||
{
|
|
@ -1,4 +1,7 @@
|
|||
namespace NetinaShop.Api.Controller;
|
||||
using Netina.Core.Abstracts;
|
||||
using Netina.Domain.Models.Claims;
|
||||
|
||||
namespace Netina.Api.Controller;
|
||||
|
||||
public class ScraperController : ICarterModule
|
||||
{
|
|
@ -1,4 +1,6 @@
|
|||
namespace NetinaShop.Api.Controller;
|
||||
using Netina.Core.CoreServices.Abstracts;
|
||||
|
||||
namespace Netina.Api.Controller;
|
||||
|
||||
public class SearchController : ICarterModule
|
||||
{
|
|
@ -1,6 +1,10 @@
|
|||
using NetinaShop.Domain.Dtos.RequestDtos.SeedDtos;
|
||||
using Netina.Common.Models.Api;
|
||||
using Netina.Common.Models.Exception;
|
||||
using Netina.Domain.CommandQueries.Commands;
|
||||
using Netina.Domain.Dtos.RequestDtos.SeedDtos;
|
||||
using Netina.Domain.Dtos.SmallDtos;
|
||||
|
||||
namespace NetinaShop.Api.Controller;
|
||||
namespace Netina.Api.Controller;
|
||||
|
||||
public class SeedController : ICarterModule
|
||||
{
|
|
@ -1,6 +1,8 @@
|
|||
using System.Text.Json;
|
||||
using Netina.Core.CoreServices.Abstracts;
|
||||
using Netina.Domain.Models.Claims;
|
||||
|
||||
namespace NetinaShop.Api.Controller;
|
||||
namespace Netina.Api.Controller;
|
||||
|
||||
public class SettingController : ICarterModule
|
||||
{
|
|
@ -1,4 +1,8 @@
|
|||
namespace NetinaShop.Api.Controller;
|
||||
using Netina.Domain.CommandQueries.Commands;
|
||||
using Netina.Domain.CommandQueries.Queries;
|
||||
using Netina.Domain.Models.Claims;
|
||||
|
||||
namespace Netina.Api.Controller;
|
||||
|
||||
public class ShippingController : ICarterModule
|
||||
{
|
|
@ -1,4 +1,7 @@
|
|||
namespace NetinaShop.Api.Controller;
|
||||
using Netina.Domain.CommandQueries.Commands;
|
||||
using Netina.Domain.CommandQueries.Queries;
|
||||
|
||||
namespace Netina.Api.Controller;
|
||||
|
||||
public class UserAddressController : ICarterModule
|
||||
{
|
|
@ -1,10 +1,12 @@
|
|||
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.AspNetCore.Mvc.RazorPages;
|
||||
using NetinaShop.Core.EntityServices.Abstracts;
|
||||
using NetinaShop.Repository.Abstracts;
|
||||
using Netina.Common.Models.Api;
|
||||
using Netina.Common.Models.Exception;
|
||||
using Netina.Core.EntityServices.Abstracts;
|
||||
using Netina.Domain.CommandQueries.Queries;
|
||||
using Netina.Domain.Dtos.RequestDtos;
|
||||
using Netina.Domain.Models.Claims;
|
||||
using Netina.Repository.Abstracts;
|
||||
|
||||
namespace NetinaShop.Api.Controller;
|
||||
namespace Netina.Api.Controller;
|
||||
|
||||
public class UserController : ICarterModule
|
||||
{
|
|
@ -65,37 +65,37 @@
|
|||
<Using Include="MediatR.Extensions.Autofac.DependencyInjection" />
|
||||
<Using Include="MediatR.Extensions.Autofac.DependencyInjection.Builder" />
|
||||
<Using Include="Microsoft.AspNetCore.ResponseCompression" />
|
||||
<Using Include="NetinaShop.Api.WebFramework.Swagger" />
|
||||
<Using Include="NetinaShop.Common.Extensions" />
|
||||
<Using Include="NetinaShop.Common.Models" />
|
||||
<Using Include="NetinaShop.Common.Models.Api" />
|
||||
<Using Include="NetinaShop.Common.Models.Entity" />
|
||||
<Using Include="NetinaShop.Common.Models.Exception" />
|
||||
<Using Include="NetinaShop.Common.Models.Mapper" />
|
||||
<Using Include="NetinaShop.Core" />
|
||||
<Using Include="NetinaShop.Core.Abstracts" />
|
||||
<Using Include="NetinaShop.Core.BaseServices.Abstracts" />
|
||||
<Using Include="NetinaShop.Core.CoreServices.Abstracts" />
|
||||
<Using Include="NetinaShop.Core.Models.Api" />
|
||||
<Using Include="NetinaShop.Core.Utilities" />
|
||||
<Using Include="NetinaShop.Domain" />
|
||||
<Using Include="NetinaShop.Domain.CommandQueries.Commands" />
|
||||
<Using Include="NetinaShop.Domain.CommandQueries.Queries" />
|
||||
<Using Include="NetinaShop.Domain.Dtos.LargDtos" />
|
||||
<Using Include="NetinaShop.Domain.Dtos.RequestDtos" />
|
||||
<Using Include="NetinaShop.Domain.Dtos.SmallDtos" />
|
||||
<Using Include="NetinaShop.Domain.Entities.Discounts" />
|
||||
<Using Include="NetinaShop.Domain.Entities.ProductCategories" />
|
||||
<Using Include="NetinaShop.Domain.Entities.Users" />
|
||||
<Using Include="NetinaShop.Domain.Mappers" />
|
||||
<Using Include="NetinaShop.Domain.Models.Claims" />
|
||||
<Using Include="NetinaShop.Domain.Models.Settings" />
|
||||
<Using Include="NetinaShop.Infrastructure" />
|
||||
<Using Include="NetinaShop.Infrastructure.Models" />
|
||||
<Using Include="NetinaShop.Repository" />
|
||||
<Using Include="NetinaShop.Repository.Extensions" />
|
||||
<Using Include="NetinaShop.Repository.Models" />
|
||||
<Using Include="NetinaShop.Repository.Repositories.Base.Contracts" />
|
||||
<Using Include="Netina.Api.WebFramework.Swagger" />
|
||||
<Using Include="Netina.Common.Extensions" />
|
||||
<Using Include="Netina.Common.Models" />
|
||||
<Using Include="Netina.Common.Models.Api" />
|
||||
<Using Include="Netina.Common.Models.Entity" />
|
||||
<Using Include="Netina.Common.Models.Exception" />
|
||||
<Using Include="Netina.Common.Models.Mapper" />
|
||||
<Using Include="Netina.Core" />
|
||||
<Using Include="Netina.Core.Abstracts" />
|
||||
<Using Include="Netina.Core.BaseServices.Abstracts" />
|
||||
<Using Include="Netina.Core.CoreServices.Abstracts" />
|
||||
<Using Include="Netina.Core.Models.Api" />
|
||||
<Using Include="Netina.Core.Utilities" />
|
||||
<Using Include="Netina.Domain" />
|
||||
<Using Include="Netina.Domain.CommandQueries.Commands" />
|
||||
<Using Include="Netina.Domain.CommandQueries.Queries" />
|
||||
<Using Include="Netina.Domain.Dtos.LargDtos" />
|
||||
<Using Include="Netina.Domain.Dtos.RequestDtos" />
|
||||
<Using Include="Netina.Domain.Dtos.SmallDtos" />
|
||||
<Using Include="Netina.Domain.Entities.Discounts" />
|
||||
<Using Include="Netina.Domain.Entities.ProductCategories" />
|
||||
<Using Include="Netina.Domain.Entities.Users" />
|
||||
<Using Include="Netina.Domain.Mappers" />
|
||||
<Using Include="Netina.Domain.Models.Claims" />
|
||||
<Using Include="Netina.Domain.Models.Settings" />
|
||||
<Using Include="Netina.Infrastructure" />
|
||||
<Using Include="Netina.Infrastructure.Models" />
|
||||
<Using Include="Netina.Repository" />
|
||||
<Using Include="Netina.Repository.Extensions" />
|
||||
<Using Include="Netina.Repository.Models" />
|
||||
<Using Include="Netina.Repository.Repositories.Base.Contracts" />
|
||||
<Using Include="Carter" />
|
||||
<Using Include="Mapster" />
|
||||
<Using Include="MediatR" />
|
||||
|
@ -114,9 +114,9 @@
|
|||
<Using Include="Serilog.Events" />
|
||||
<Using Include="Serilog.Sinks.ElmahIo" />
|
||||
<Using Include="Serilog.Sinks.SystemConsole.Themes" />
|
||||
<Using Include="NetinaShop.Api.WebFramework.Bases" />
|
||||
<Using Include="NetinaShop.Api.WebFramework.Configurations" />
|
||||
<Using Include="NetinaShop.Api.WebFramework.MiddleWares" />
|
||||
<Using Include="Netina.Api.WebFramework.Bases" />
|
||||
<Using Include="Netina.Api.WebFramework.Configurations" />
|
||||
<Using Include="Netina.Api.WebFramework.MiddleWares" />
|
||||
<Using Include="StackExchange.Redis.Extensions.Core.Configuration" />
|
||||
<Using Include="StackExchange.Redis.Extensions.Newtonsoft" />
|
||||
<Using Include="System.Diagnostics" />
|
||||
|
@ -126,11 +126,11 @@
|
|||
<Using Include="System.Net" />
|
||||
<Using Include="System.Security.Claims" />
|
||||
<Using Include="System.Text" />
|
||||
<Using Include="NetinaShop.Common.Models;" />
|
||||
<Using Include="Netina.Common.Models;" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\NetinaShop.Infrastructure\NetinaShop.Infrastructure.csproj" />
|
||||
<ProjectReference Include="..\Netina.Infrastructure\Netina.Infrastructure.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
|
@ -1,4 +1,13 @@
|
|||
using NetinaShop.Repository.Behaviors;
|
||||
using Netina.Api.WebFramework.Configurations;
|
||||
using Netina.Api.WebFramework.MiddleWares;
|
||||
using Netina.Api.WebFramework.Swagger;
|
||||
using Netina.Common.Models;
|
||||
using Netina.Core;
|
||||
using Netina.Domain;
|
||||
using Netina.Domain.Models.Settings;
|
||||
using Netina.Infrastructure;
|
||||
using Netina.Repository;
|
||||
using Netina.Repository.Behaviors;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
builder.Host.UseServiceProviderFactory(new AutofacServiceProviderFactory());
|
|
@ -1,9 +1,7 @@
|
|||
using System.Security.Cryptography;
|
||||
using NetinaShop.Repository.Abstracts;
|
||||
using Polly;
|
||||
using static NetinaShop.Infrastructure.Models.Scrapers.Digikala.GetDigikalProductResponseDto;
|
||||
using Netina.Repository.Abstracts;
|
||||
|
||||
namespace NetinaShop.Api.Services;
|
||||
namespace Netina.Api.Services;
|
||||
|
||||
public class CurrentUserService : ICurrentUserService
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
@model NetinaShop.Api.Views.Home.IndexModel
|
||||
@model Netina.Api.Views.Home.IndexModel
|
||||
@{
|
||||
}
|
||||
<html lang="en">
|
|
@ -1,7 +1,6 @@
|
|||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.AspNetCore.Mvc.RazorPages;
|
||||
|
||||
namespace NetinaShop.Api.Views.Home
|
||||
namespace Netina.Api.Views.Home
|
||||
{
|
||||
public class IndexModel : PageModel
|
||||
{
|
|
@ -1,4 +1,7 @@
|
|||
namespace NetinaShop.Api.WebFramework.Bases;
|
||||
using Netina.Common.Models.Api;
|
||||
using Netina.Core.Models.Api;
|
||||
|
||||
namespace Netina.Api.WebFramework.Bases;
|
||||
|
||||
public class ApiResultFactory
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace NetinaShop.Api.WebFramework.Bases;
|
||||
namespace Netina.Api.WebFramework.Bases;
|
||||
|
||||
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)]
|
||||
public class ClaimRequirement : AuthorizeAttribute, IAuthorizationFilter
|
|
@ -1,4 +1,9 @@
|
|||
namespace NetinaShop.Api.WebFramework.Bases;
|
||||
using Netina.Common.Models.Entity;
|
||||
using Netina.Common.Models.Exception;
|
||||
using Netina.Common.Models.Mapper;
|
||||
using Netina.Repository.Repositories.Base.Contracts;
|
||||
|
||||
namespace Netina.Api.WebFramework.Bases;
|
||||
|
||||
|
||||
public class CrudEndpoint<TEntity,TGetAllQuery,TGetOneQuery,TCreateCommand,TUpdateCommand,TDeleteCommand> where TEntity : ApiEntity, new()
|
|
@ -1,6 +1,6 @@
|
|||
using Microsoft.Extensions.Options;
|
||||
|
||||
namespace NetinaShop.Api.WebFramework.Configurations;
|
||||
namespace Netina.Api.WebFramework.Configurations;
|
||||
|
||||
public class ConfigureJwtBearerOptions : IPostConfigureOptions<JwtBearerOptions>
|
||||
{
|
|
@ -1,4 +1,6 @@
|
|||
namespace NetinaShop.Api.WebFramework.Configurations;
|
||||
using Netina.Infrastructure.Models;
|
||||
|
||||
namespace Netina.Api.WebFramework.Configurations;
|
||||
|
||||
public static class LoggerConfig
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace NetinaShop.Api.WebFramework.Configurations;
|
||||
namespace Netina.Api.WebFramework.Configurations;
|
||||
|
||||
public class PersianIdentityErrorDescriber : IdentityErrorDescriber
|
||||
{
|
|
@ -1,7 +1,11 @@
|
|||
using Marten;
|
||||
using Netina.Domain.Entities.Users;
|
||||
using Netina.Domain.Models.Settings;
|
||||
using Netina.Repository.Extensions;
|
||||
using Netina.Repository.Models;
|
||||
using Weasel.Core;
|
||||
|
||||
namespace NetinaShop.Api.WebFramework.Configurations;
|
||||
namespace Netina.Api.WebFramework.Configurations;
|
||||
|
||||
public static class ServiceExtensions
|
||||
{
|
|
@ -1,10 +1,9 @@
|
|||
using System;
|
||||
using System.Security.Cryptography;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using NetinaShop.Repository.Migrations;
|
||||
using Netina.Common.Models.Api;
|
||||
using Netina.Common.Models.Exception;
|
||||
using Netina.Core.Models.Api;
|
||||
using Refit;
|
||||
|
||||
namespace NetinaShop.Api.WebFramework.MiddleWares;
|
||||
namespace Netina.Api.WebFramework.MiddleWares;
|
||||
|
||||
public static class ExceptionHandlerMiddlewareExtensions
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
namespace NetinaShop.Api.WebFramework.MiddleWares;
|
||||
namespace Netina.Api.WebFramework.MiddleWares;
|
||||
|
||||
public static class PerformanceMiddlewareExtensions
|
||||
{
|
|
@ -1,10 +1,11 @@
|
|||
using Microsoft.AspNetCore.Mvc.Controllers;
|
||||
using Microsoft.OpenApi.Models;
|
||||
using Netina.Common.Extensions;
|
||||
using Pluralize.NET;
|
||||
using Swashbuckle.AspNetCore.SwaggerGen;
|
||||
using Swashbuckle.AspNetCore.SwaggerUI;
|
||||
|
||||
namespace NetinaShop.Api.WebFramework.Swagger;
|
||||
namespace Netina.Api.WebFramework.Swagger;
|
||||
|
||||
public static class SwaggerConfiguration
|
||||
{
|
Before Width: | Height: | Size: 8.3 KiB After Width: | Height: | Size: 8.3 KiB |
Before Width: | Height: | Size: 1002 KiB After Width: | Height: | Size: 1002 KiB |
Before Width: | Height: | Size: 8.3 KiB After Width: | Height: | Size: 8.3 KiB |
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 86 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 106 KiB After Width: | Height: | Size: 106 KiB |
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 51 KiB |
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 85 KiB After Width: | Height: | Size: 85 KiB |
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
|
@ -1,4 +1,4 @@
|
|||
namespace NetinaShop.Common
|
||||
namespace Netina.Common
|
||||
{
|
||||
public class CommonConfig
|
||||
{
|
|
@ -1,6 +1,6 @@
|
|||
using System.Collections;
|
||||
|
||||
namespace NetinaShop.Common.Extensions
|
||||
namespace Netina.Common.Extensions
|
||||
{
|
||||
public static class AssertExtensions
|
||||
{
|