Chnaged the methode for edit API to PUT
This commit is contained in:
parent
f1527a97f1
commit
07c4e420e9
@ -253,7 +253,7 @@ namespace Marco.Pms.Services.Controllers
|
|||||||
return StatusCode(response.StatusCode, response);
|
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)
|
public async Task<IActionResult> EditRecurringPaymentAsync(Guid id, [FromBody] UpdateRecurringTemplateDto model)
|
||||||
{
|
{
|
||||||
var loggedInEmployee = await _userHelper.GetCurrentEmployeeAsync();
|
var loggedInEmployee = await _userHelper.GetCurrentEmployeeAsync();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user