public async Task UpdateIncomeCategory(int id, UpdateIncomeCategoryRequest request) { await _incomeCategoriesRepository.UpdateIncomeCategory(id, request.Name); }
public async Task <IActionResult> UpdateIncomeCategory(int id, [FromBody] UpdateIncomeCategoryRequest request) { await _incomeCategoriesService.UpdateIncomeCategory(id, request); return(Ok()); }