75 lines
2.4 KiB
C#
75 lines
2.4 KiB
C#
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 FeaturesEndpointMap
|
|
{
|
|
public static IEndpointRouteBuilder MapFeaturesEndpoint(this IEndpointRouteBuilder app)
|
|
{
|
|
//setting
|
|
app.MapSerilogsEndpoints();
|
|
app.MapCurrencyEndpoints();
|
|
app.MapAutoNumberSequenceEndpoints();
|
|
app.MapSystemUserEndpoints();
|
|
app.MapCompanyEndpoints();
|
|
app.MapTaxEndpoints();
|
|
|
|
//organization
|
|
app.MapBranchEndpoints();
|
|
app.MapDepartmentEndpoints();
|
|
app.MapDesignationEndpoints();
|
|
app.MapEmployeeEndpoints();
|
|
|
|
//profile
|
|
app.MapPersonalInformationEndpoints();
|
|
app.MapPasswordEndpoints();
|
|
app.MapAvatarEndpoints();
|
|
|
|
//leave
|
|
app.MapLeaveCategoryEndpoints();
|
|
app.MapLeaveRequestEndpoints();
|
|
app.MapLeaveBalanceEndpoints();
|
|
|
|
//performance
|
|
app.MapEvaluationEndpoints();
|
|
app.MapAppraisalEndpoints();
|
|
app.MapPromotionEndpoints();
|
|
app.MapTransferEndpoints();
|
|
|
|
//payroll
|
|
app.MapIncomeEndpoints();
|
|
app.MapDeductionEndpoints();
|
|
app.MapGradeEndpoints();
|
|
app.MapPayrollsEndpoints();
|
|
|
|
//root
|
|
app.MapHomeEndpoints();
|
|
|
|
return app;
|
|
}
|
|
}
|