initial commit
This commit is contained in:
@@ -0,0 +1,115 @@
|
||||
using Indotalent.Features.Inventory.Product;
|
||||
using Indotalent.Features.Inventory.ProductGroup;
|
||||
using Indotalent.Features.Inventory.UnitMeasure;
|
||||
using Indotalent.Features.Inventory.Warehouse;
|
||||
using Indotalent.Features.Organization.Employee;
|
||||
using Indotalent.Features.Organization.EmployeeCategory;
|
||||
using Indotalent.Features.Organization.EmployeeGroup;
|
||||
using Indotalent.Features.Profile.Avatar;
|
||||
using Indotalent.Features.Profile.Password;
|
||||
using Indotalent.Features.Profile.PersonalInformation;
|
||||
using Indotalent.Features.Purchase.Bill;
|
||||
using Indotalent.Features.Purchase.BillReport;
|
||||
using Indotalent.Features.Purchase.PaymentDisburse;
|
||||
using Indotalent.Features.Purchase.PaymentDisburseReport;
|
||||
using Indotalent.Features.Purchase.PurchaseOrder;
|
||||
using Indotalent.Features.Purchase.PurchaseReport;
|
||||
using Indotalent.Features.Root.Home;
|
||||
using Indotalent.Features.Sales.ComissionReport;
|
||||
using Indotalent.Features.Sales.Invoice;
|
||||
using Indotalent.Features.Sales.InvoiceReport;
|
||||
using Indotalent.Features.Sales.PaymentReceive;
|
||||
using Indotalent.Features.Sales.PaymentReceiveReport;
|
||||
using Indotalent.Features.Sales.SalesOrder;
|
||||
using Indotalent.Features.Sales.SalesReport;
|
||||
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;
|
||||
using Indotalent.Features.Thirdparty.Customer;
|
||||
using Indotalent.Features.Thirdparty.CustomerCategory;
|
||||
using Indotalent.Features.Thirdparty.CustomerContact;
|
||||
using Indotalent.Features.Thirdparty.CustomerGroup;
|
||||
using Indotalent.Features.Thirdparty.Vendor;
|
||||
using Indotalent.Features.Thirdparty.VendorCategory;
|
||||
using Indotalent.Features.Thirdparty.VendorContact;
|
||||
using Indotalent.Features.Thirdparty.VendorGroup;
|
||||
using Indotalent.Features.Utilities.BookingGroup;
|
||||
using Indotalent.Features.Utilities.BookingManager;
|
||||
using Indotalent.Features.Utilities.BookingResource;
|
||||
using Indotalent.Features.Utilities.BookingScheduler;
|
||||
using Indotalent.Features.Utilities.Todo;
|
||||
|
||||
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();
|
||||
|
||||
//profile
|
||||
app.MapPersonalInformationEndpoints();
|
||||
app.MapPasswordEndpoints();
|
||||
app.MapAvatarEndpoints();
|
||||
|
||||
//root
|
||||
app.MapHomeEndpoints();
|
||||
|
||||
//inventory
|
||||
app.MapUnitMeasureEndpoints();
|
||||
app.MapProductGroupEndpoints();
|
||||
app.MapWarehouseEndpoints();
|
||||
app.MapProductEndpoints();
|
||||
|
||||
//thirdparty
|
||||
app.MapCustomerGroupEndpoints();
|
||||
app.MapCustomerCategoryEndpoints();
|
||||
app.MapCustomerEndpoints();
|
||||
app.MapCustomerContactEndpoints();
|
||||
app.MapVendorCategoryEndpoints();
|
||||
app.MapVendorGroupEndpoints();
|
||||
app.MapVendorEndpoints();
|
||||
app.MapVendorContactEndpoints();
|
||||
|
||||
|
||||
//utilities
|
||||
app.MapTodoEndpoints();
|
||||
app.MapBookingGroupEndpoints();
|
||||
app.MapBookingResourceEndpoints();
|
||||
app.MapBookingManagerEndpoints();
|
||||
app.MapBookingSchedulerEndpoints();
|
||||
|
||||
//purchase
|
||||
app.MapPurchaseOrderEndpoints();
|
||||
app.MapPurchaseReportEndpoints();
|
||||
app.MapBillReportEndpoints();
|
||||
app.MapPaymentDisburseReportEndpoints();
|
||||
app.MapBillEndpoints();
|
||||
app.MapPaymentDisburseEndpoints();
|
||||
|
||||
//sales
|
||||
app.MapSalesOrderEndpoints();
|
||||
app.MapSalesReportEndpoints();
|
||||
app.MapCommissionReportEndpoints();
|
||||
app.MapInvoiceReportEndpoints();
|
||||
app.MapPaymentReceiveReportEndpoints();
|
||||
app.MapInvoiceEndpoints();
|
||||
app.MapPaymentReceiveEndpoints();
|
||||
|
||||
//organization
|
||||
app.MapEmployeeCategoryEndpoints();
|
||||
app.MapEmployeeGroupEndpoints();
|
||||
app.MapEmployeeEndpoints();
|
||||
|
||||
return app;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user