private WebAPI.Models.ProjectClassification DataRowToWebApiModel(DataRow dr)
        {
            WebAPI.Models.ProjectClassification taxonomy = new WebAPI.Models.ProjectClassification();
            try
            {
                if (dr["tid"] != System.DBNull.Value) { taxonomy.TID = Convert.ToInt16(dr["tid"]); }
                if (dr["pid"] != System.DBNull.Value) { taxonomy.PID = (String)dr["pid"]; }
                if (dr["TxName"] != System.DBNull.Value) { taxonomy.Name = (String)dr["TxName"]; }
                if (dr["TxDesc"] != System.DBNull.Value) { taxonomy.Description = (String)dr["TxDesc"]; }
                if (dr["TxWeight"] != System.DBNull.Value) { taxonomy.Weight = Convert.ToInt16(dr["TxWeight"]); }

                return taxonomy;
            }
            catch (Exception ex)
            {
                return null;
            }
        }
        private WebAPI.Models.ProjectClassification DALObjectToWebApiModel(ProjectMgmt.Taxonomy data)
        {
            WebAPI.Models.ProjectClassification taxonomy = new WebAPI.Models.ProjectClassification();
            try
            {
                taxonomy.TID = data.TID;
                taxonomy.Name = data.Name;
                taxonomy.Description = data.Description;
                taxonomy.Weight = data.Weight;

                return taxonomy;
            }
            catch (Exception ex)
            {
                return null;
            }
        }