Example #1
0
        public bool ChangeProTest(
            [PexAssumeUnderTest] MappingBLL target,
            string sts,
            string stp
            )
        {
            bool result = target.ChangePro(sts, stp);

            return(result);
            // TODO: add assertions to method MappingBLLTest.ChangeProTest(MappingBLL, String, String)
        }
Example #2
0
        private void btnSave_Click(object sender, EventArgs e)
        {
            string sts = lsSyllabusOut.GetItemValue(index).ToString();

            List <string> lzs = new List <string>();

            foreach (ProgramOutcome item in lsProgramOut.CheckedItems)
            {
                lzs.Add(item.id);
            }
            string prostring = map.createString(lzs);

            if (map.checkexistid(sts) == true)
            {
                map.ChangePro(sts, prostring);
            }
            else
            {
                map.AddMap(idsy, sts, prostring);
            }
            MessageBox.Show("Lưu Liên Kết Thành Công");
        }