diff --git a/Marco.Pms.Services/Service/MasterService.cs b/Marco.Pms.Services/Service/MasterService.cs index e33fc59..daa4191 100644 --- a/Marco.Pms.Services/Service/MasterService.cs +++ b/Marco.Pms.Services/Service/MasterService.cs @@ -183,7 +183,7 @@ namespace Marco.Pms.Services.Service } public async Task> 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> 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> 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