Example #1
0
        public int Create_service_record(SvcRecord new_record)
        {
            database_connection.OpenConnection();
            ///Database calls
            database_connection.CloseConnection();

        }
Example #2
0
 public int create_service_record(SvcRecord new_record)
 {
     if (new_record == null)
     {
         return(0);
     }
     else
     {
         return(1);
     }
 }
Example #3
0
    public SvcRecord Search_record(int id_number)
    {
        if (id_number == 0)
        {
            return(null);
        }

        SvcRecord testrecord = new SvcRecord();

        testrecord.Date_of_svc     = "00-00-0000";
        testrecord.Date_time_rcvd  = "00-00-0000 00:00:00";
        testrecord.Member_name     = "Test Subject";
        testrecord.Member_number   = 111111;
        testrecord.Provider_name   = "Dr. Tester";
        testrecord.Provider_number = 222222;
        testrecord.Comments        = "Comments here";
        testrecord.Svc_provided    = "Test Service";

        return(SvcRecord);
    }