Expanses_Management_Feature #109

Merged
ashutosh.nehete merged 79 commits from Expanses_Management_Feature into main 2025-08-08 06:14:48 +00:00
Showing only changes of commit 57d2b03c02 - Show all commits

View File

@ -183,7 +183,7 @@ namespace Marco.Pms.Services.Service
}
public async Task<ApiResponse<object>> DeleteExpenseTypeAsync(Guid id, bool isActive, Employee loggedInEmployee, Guid tenantId)
{
string action = isActive ? "delete" : "restore";
string action = isActive ? "restore" : "delete";
try
{
// Validation if employee is taking action in same tenant
@ -437,7 +437,7 @@ namespace Marco.Pms.Services.Service
}
public async Task<ApiResponse<object>> DeleteExpensesStatusAsync(Guid id, bool isActive, Employee loggedInEmployee, Guid tenantId)
{
string action = isActive ? "delete" : "restore";
string action = isActive ? "restore" : "delete";
try
{
// Validation if employee is taking action in same tenant
@ -639,7 +639,7 @@ namespace Marco.Pms.Services.Service
}
public async Task<ApiResponse<object>> DeletePaymentModeAsync(Guid id, bool isActive, Employee loggedInEmployee, Guid tenantId)
{
string action = isActive ? "delete" : "restore";
string action = isActive ? "restore" : "delete";
try
{
// Validation if employee is taking action in same tenant