예제 #1
0
 public void AddLicensure(Licensure licensure, Employee employee, License license)
 {
     licensure.EmployeeId  = employee.EmployeeId;
     licensure.LicenseType = license.LicenseType;
     _licensureRepository.Add(licensure);
     _licensureRepository.SaveChanges();
 }
예제 #2
0
 public void DeleteLicensure(Licensure licensure)
 {
     _licensureRepository.Remove(licensure);
     _licensureRepository.SaveChanges();
 }
예제 #3
0
 public void UpdateLicensure(Licensure licensure)
 {
     _licensureRepository.Update(licensure);
     _licensureRepository.SaveChanges();
 }