public IActionResult Update(PersonnelHoliday personnelHoliday) { _personnelHolidayService.Update(personnelHoliday); return(NoContent()); }
public async Task <IActionResult> Save(PersonnelHoliday personnelHoliday) { var personnel = await _personnelHolidayService.AddAsync(personnelHoliday); return(Created("", _mapper.Map <PersonnelHolidayDto>(personnel))); }