public void AddLicensure(Licensure licensure, Employee employee, License license) { licensure.EmployeeId = employee.EmployeeId; licensure.LicenseType = license.LicenseType; _licensureRepository.Add(licensure); _licensureRepository.SaveChanges(); }
public void DeleteLicensure(Licensure licensure) { _licensureRepository.Remove(licensure); _licensureRepository.SaveChanges(); }
public void UpdateLicensure(Licensure licensure) { _licensureRepository.Update(licensure); _licensureRepository.SaveChanges(); }