Example #1
0
        public static string GetProjectGroupTitle(int ProjectGroupId)
        {
            string ProjectGroupTitle = "";

            using (IDataReader reader = DBProjectGroup.GetProjectGroup(ProjectGroupId, Security.CurrentUser.TimeZoneId))
            {
                if (reader.Read())
                {
                    ProjectGroupTitle = reader["Title"].ToString();
                }
            }

            return(ProjectGroupTitle);
        }
Example #2
0
        /*
         *      [ProjectGroupId], [Title], [Description], [CreationDate], [CreatorId]
         */

        public static IDataReader GetProjectGroups(int ProjectGroupId)
        {
            return(DBProjectGroup.GetProjectGroup(ProjectGroupId, User.DefaultTimeZoneId));
        }