Chnaged the methode for edit API to PUT

This commit is contained in:
ashutosh.nehete 2025-11-06 08:47:16 +05:30
parent f1527a97f1
commit 07c4e420e9

View File

@ -253,7 +253,7 @@ namespace Marco.Pms.Services.Controllers
return StatusCode(response.StatusCode, response);
}
[HttpPost("recurring-payment/edit/{id}")]
[HttpPut("recurring-payment/edit/{id}")]
public async Task<IActionResult> EditRecurringPaymentAsync(Guid id, [FromBody] UpdateRecurringTemplateDto model)
{
var loggedInEmployee = await _userHelper.GetCurrentEmployeeAsync();