initial commit
This commit is contained in:
@@ -0,0 +1,75 @@
|
||||
using Indotalent.Features.Leave.LeaveBalance;
|
||||
using Indotalent.Features.Leave.LeaveCategory;
|
||||
using Indotalent.Features.Leave.LeaveRequest;
|
||||
using Indotalent.Features.Organization.Branch;
|
||||
using Indotalent.Features.Organization.Department;
|
||||
using Indotalent.Features.Organization.Designation;
|
||||
using Indotalent.Features.Organization.Employee;
|
||||
using Indotalent.Features.Payroll.Deduction;
|
||||
using Indotalent.Features.Payroll.Grade;
|
||||
using Indotalent.Features.Payroll.Income;
|
||||
using Indotalent.Features.Payroll.Payrolls;
|
||||
using Indotalent.Features.Performance.Appraisal;
|
||||
using Indotalent.Features.Performance.Evaluation;
|
||||
using Indotalent.Features.Performance.Promotion;
|
||||
using Indotalent.Features.Performance.Transfer;
|
||||
using Indotalent.Features.Profile.Avatar;
|
||||
using Indotalent.Features.Profile.Password;
|
||||
using Indotalent.Features.Profile.PersonalInformation;
|
||||
using Indotalent.Features.Root.Home;
|
||||
using Indotalent.Features.Serilogs;
|
||||
using Indotalent.Features.Setting.AutoNumberSequence;
|
||||
using Indotalent.Features.Setting.Company;
|
||||
using Indotalent.Features.Setting.Currency;
|
||||
using Indotalent.Features.Setting.SystemUser;
|
||||
using Indotalent.Features.Setting.Tax;
|
||||
|
||||
namespace Indotalent.Features;
|
||||
|
||||
public static class FeaturesDI
|
||||
{
|
||||
public static IServiceCollection AddFeaturesDI(this IServiceCollection services)
|
||||
{
|
||||
//Setting
|
||||
services.AddScoped<SerilogsService>();
|
||||
services.AddScoped<CurrencyService>();
|
||||
services.AddScoped<AutoNumberSequenceService>();
|
||||
services.AddScoped<SystemUserService>();
|
||||
services.AddScoped<CompanyService>();
|
||||
services.AddScoped<TaxService>();
|
||||
|
||||
|
||||
//organization
|
||||
services.AddScoped<BranchService>();
|
||||
services.AddScoped<DepartmentService>();
|
||||
services.AddScoped<DesignationService>();
|
||||
services.AddScoped<EmployeeService>();
|
||||
|
||||
//profile
|
||||
services.AddScoped<PersonalInformationService>();
|
||||
services.AddScoped<PasswordService>();
|
||||
services.AddScoped<AvatarService>();
|
||||
|
||||
//leave
|
||||
services.AddScoped<LeaveCategoryService>();
|
||||
services.AddScoped<LeaveRequestService>();
|
||||
services.AddScoped<LeaveBalanceService>();
|
||||
|
||||
//performance
|
||||
services.AddScoped<EvaluationService>();
|
||||
services.AddScoped<AppraisalService>();
|
||||
services.AddScoped<PromotionService>();
|
||||
services.AddScoped<TransferService>();
|
||||
|
||||
//payroll
|
||||
services.AddScoped<IncomeService>();
|
||||
services.AddScoped<DeductionService>();
|
||||
services.AddScoped<GradeService>();
|
||||
services.AddScoped<PayrollsService>();
|
||||
|
||||
//root
|
||||
services.AddScoped<HomeService>();
|
||||
|
||||
return services;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user