public ResponseMessageWrap <int> Update([FromBody] YearSpecialty yearSpecialty) { return(new ResponseMessageWrap <int> { Body = YearSpecialtyService.Update(yearSpecialty) }); }
public int Update(YearSpecialty yearSpecialty) { return(YearSpecialtyRepository.Update(yearSpecialty)); }
public int Insert(YearSpecialty yearSpecialty) { return(YearSpecialtyRepository.Insert(yearSpecialty)); }