public int RegistSurgeon(string name, string surname, DateTime birth, string surgeryType) { ISurgeon surgeon = factory.CreateSurgeon(name, surname, birth, surgeryType); return(surgeonRepo.SaveSurgeon(surgeon)); }
public int RegistSurgeon(string name, string surname, DateTime birth, string surgeryType) { ISurgeon surgeon = factory.CreateSurgeon(name, surname, birth, surgeryType); return(surgeonRepo.SaveSurgeon(surgeon)); }