c2955ad02f
TaxBaik CI/CD / build-and-deploy (push) Successful in 49s
Phase 2: Repository Implementation (Dapper) - TaxProfileRepository: tax profile CRUD + risk level analysis + filing due dates - TaxFilingScheduleRepository: schedule tracking + upcoming due dates + completion marking - ConsultingActivityRepository: CRM activity history + pending followups + consultant tracking - ContractRepository: contract lifecycle + active contracts + expiring alerts + MRR calculation - RevenueTrackingRepository: invoice tracking + payment status + revenue analysis Phase 3: Service Layer (Business Logic) - TaxProfileService: profile creation, risk assessment, upcoming filing detection - TaxFilingScheduleService: schedule management, deadline tracking, completion workflow - ConsultingActivityService: activity logging, followup management, consultant productivity - ContractService: contract management, MRR calculation, expiring contract alerts - RevenueTrackingService: invoice creation, payment tracking, revenue analytics Phase 4: API Controller (REST Endpoints) - TaxProfileController: CRUD operations + high-risk filtering + upcoming filings query Architecture Highlights: - SOLID principles: each layer has clear responsibility - Dapper-based repositories for data access - Comprehensive service layer for business logic - RESTful API design with proper error handling - Ready for Blazor UI implementation and deployment Database Migration V015 executed: - 5 new specialized tables for CRM and tax accounting - Appropriate indexes for query performance - Foreign key constraints for data integrity
31 lines
1.2 KiB
C#
31 lines
1.2 KiB
C#
namespace TaxBaik.Application;
|
|
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
using TaxBaik.Application.Services;
|
|
|
|
public static class DependencyInjection
|
|
{
|
|
public static IServiceCollection AddApplication(this IServiceCollection services)
|
|
{
|
|
services.AddScoped<BlogService>();
|
|
services.AddScoped<InquiryService>();
|
|
services.AddScoped<AdminDashboardService>();
|
|
services.AddScoped<IInquiryNotificationService, NoopInquiryNotificationService>();
|
|
services.AddScoped<SiteSettingService>();
|
|
services.AddScoped<CategoryService>();
|
|
services.AddScoped<AnnouncementService>();
|
|
services.AddSingleton<SeasonalMarketingService>();
|
|
services.AddScoped<ClientService>();
|
|
services.AddScoped<FaqService>();
|
|
services.AddScoped<ConsultationService>();
|
|
services.AddScoped<TaxFilingService>();
|
|
services.AddScoped<CompanyService>();
|
|
services.AddScoped<TaxProfileService>();
|
|
services.AddScoped<TaxFilingScheduleService>();
|
|
services.AddScoped<ConsultingActivityService>();
|
|
services.AddScoped<ContractService>();
|
|
services.AddScoped<RevenueTrackingService>();
|
|
return services;
|
|
}
|
|
}
|