Exemplo n.º 1
0
        public string createStringTest([PexAssumeUnderTest] MappingBLL target, List <string> listid)
        {
            string result = target.createString(listid);

            return(result);
            // TODO: add assertions to method MappingBLLTest.createStringTest(MappingBLL, List`1<String>)
        }
Exemplo n.º 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");
        }