Exemple #1
0
        public string GetInstructorImage(string instructorId)
        {
            DataTable dt      = new DataTable();
            var       newInst = new DAInstructor();

            dt = newInst.GetInstructorImage(instructorId);
            if (dt.Rows.Count > 0)
            {
                string name = dt.Rows[0]["IMAGE"].ToString();
                return(name);
            }
            else
            {
                return("");
            }
        }
Exemple #2
0
        public DataSet IsInactiveVehicle(string id)
        {
            DAInstructor instructor = new DAInstructor();

            return(instructor.IsInactiveVehicle(id));
        }
Exemple #3
0
        public Int64 Save(DataSet ds, DbTransaction transaction)
        {
            DAInstructor oDAInstructor = new DAInstructor();

            return(oDAInstructor.SaveInstructor(transaction, ds));
        }
Exemple #4
0
        public DataSet GetInstructorsById(string InstructorId)
        {
            DAInstructor instructor = new DAInstructor();

            return(instructor.GetInstructorById(InstructorId));
        }