public PacienteController(DentalWhiteContext context) { _context = context; if (_context.Pacientes.Count() == 0) { _context.Pacientes.Add(new Paciente { TipoId = "C.C", Identificacion_Paciente = "1004279985", Nombres = "luis carlos", Apellidos = "Cerda ortiz", Direccion = "Villa catalina 2", Telefono = "3003906802", FechaNacimiento = "23/05/1998", Edad = 21 }); _context.SaveChanges(); } }
public DoctorController(DentalWhiteContext context) { _context = context; if (_context.Doctores.Count() == 0) { _context.Doctores.Add(new Doctor { Identificacion_Doctor = "39100385", Nombres = "Naila", Apellidos = "Ortiz", Direccion = "Villa catalina 2", Telefono = "3017193553", Telefono2 = "3103111136", FechaNacimiento = "01/03/1980", Edad = 39 }); _context.SaveChanges(); } }
public HoraController(DentalWhiteContext context) { _context = context; }
public TratamientoController(DentalWhiteContext context) { _context = context; }