public ResponseMessageWrap <int> DeleteById(long id) { return(new ResponseMessageWrap <int> { Body = YearSpecialtyService.DeleteById(id) }); }
public ResponseMessageWrap <int> Update([FromBody] YearSpecialty yearSpecialty) { return(new ResponseMessageWrap <int> { Body = YearSpecialtyService.Update(yearSpecialty) }); }
public YearSpecialtyController(YearSpecialtyService yearSpecialtyService, IYearSpecialtyRepository yearSpecialtyRepository) { YearSpecialtyService = yearSpecialtyService; YearSpecialtyRepository = yearSpecialtyRepository; }