public Debt Post([FromBody] Debt value) { return(_debtService.Add(value)); }
public long AddDebt(Debt debt) { return(_debtService.Add(_iMapper.Map <DebtCalc.Context.Core.Models.Entities.Debt>(debt))); }