private WebAPI.Models.ProjectTaxonomy DataRowToWebApiModel(DataRow dr)
        {
            WebAPI.Models.ProjectTaxonomy taxonomy = new WebAPI.Models.ProjectTaxonomy();
            try
            {
                if (dr["tid"] != System.DBNull.Value) { taxonomy.TID = Convert.ToInt16(dr["tid"]); }
                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.ProjectTaxonomy DALObjectToWebApiModel(ProjectMgmt.Taxonomy data)
        {
            WebAPI.Models.ProjectTaxonomy taxonomy = new WebAPI.Models.ProjectTaxonomy();
            try
            {
                taxonomy.TID = data.TID;
                taxonomy.Name = data.Name;
                taxonomy.Description = data.Description;
                taxonomy.Weight = data.Weight;

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