public void Put([FromBody] HoraryExtraViewModel horaryPriceViewModel) { _horaryAppService.Update(horaryPriceViewModel); }
public void Add(HoraryExtraViewModel fieldViewModel) { _horaryExtraRepository.Add(_mapper.Map<HoraryExtra>(fieldViewModel)); }
public void Post([FromBody] HoraryExtraViewModel horaryPriceViewModel) { _horaryAppService.Add(horaryPriceViewModel); }
public void Update(HoraryExtraViewModel fieldViewModel) { _horaryExtraRepository.Update(_mapper.Map<HoraryExtra>(fieldViewModel)); }