Пример #1
0
        //Get All ModuleNames And BugNames and BugStatus//
        public List <ReleaseManagementModel> GetAllModuleNamesAndBugNames(string username)
        {
            List <ReleaseManagementModel> Modules = new List <ReleaseManagementModel>();
            DataSet dsGetAllModules = dal.GetAllModuleNamesAndBugNames(username);
            ReleaseManagementModel bug;

            foreach (DataRow row in dsGetAllModules.Tables[0].Rows)
            {
                bug            = new ReleaseManagementModel();
                bug.ModuleId   = row[0].ToString();
                bug.ModuleName = row[1].ToString();
                bug.Bugstatus  = row[2].ToString();
                bug.Bugname    = row[3].ToString();

                Modules.Add(bug);
            }
            return(Modules);
        }