public PatientEntry GetPatient(int id)
        {
            PatientEntry patient = new PatientEntry()
            {
                ID = id, Name = "NewPatientWithID"
            };

            return(patient);
        }
 static void Main(string[] args, ICrud crud)
 {
     Console.WriteLine("Hello World!");
     database2 = crud;
     database2.AddPatient(new PatientEntry()
     {
         ID = 0, Name = "NewPatient"
     });
     database2.RemovePatient(new PatientEntry()
     {
         ID = 0, Name = "NewPatient"
     });
     PatientEntry patient = database2.GetPatient(0);
 }
 public bool RemovePatient(PatientEntry patient, int id)
 {
     Console.WriteLine($"{patient.Name} with {patient.ID} is removed in database2 using firebase");
     return(true);
 }
 public bool AddPatient(PatientEntry patient)
 {
     Console.WriteLine($"{patient.Name} with {patient.ID} is added in database2 using firebase");
     return(true);
 }