public ReservationController(IHttpContextAccessor httpContextAccessor, Patient patient, VetAmbulance.BL.Models.Vet vet, Ambulance ambulance, Reservation reservation) { this.httpContextAccessor = httpContextAccessor; this.patien = patient; this.vet = vet; this.ambulance = ambulance; this.reservation = reservation; }
public Vets() { InitializeComponent(); ambulance = Container.Get().Resolve <VetAmbulance.BL.Models.Ambulance>(); vet = Container.Get().Resolve <VetAmbulance.BL.Models.Vet>(); GetAmbulances(); GetVets(); }
public VetMain(VetAmbulance.BL.Models.Vet vet) { InitializeComponent(); ambulance = Container.Get().Resolve <VetAmbulance.BL.Models.Ambulance>(); this.vet = Container.Get().Resolve <VetAmbulance.BL.Models.Vet>(); patient = Container.Get().Resolve <Patient>(); diagnosis = Container.Get().Resolve <Diagnosis>(); drug = Container.Get().Resolve <Drug>(); this.vet.GetById(this.vet.Id); ambulance.GetById(this.vet.AmbulanceId); }
public MainWindow() { InitializeComponent(); vet = Container.Get().Resolve <VetAmbulance.BL.Models.Vet>(); }