public void Put([FromBody] TimeAmountUpdateCmd amountAdd) { _timesRepository.Update(amountAdd); }
public void Update(TimeAmountUpdateCmd amountUpdate) { var newAmount = _commandHandler.Handle(amountUpdate); Update(newAmount); }
public void Put([FromBody] TimeAmountUpdateCmd amountAdd) { _timesRepository.Update(amountAdd); }
public void Update(TimeAmountUpdateCmd amountUpdate) { var newAmount = _commandHandler.Handle(amountUpdate); Update(newAmount); }