public void personLevelDuplicateNo() { int result = -1; I_DaoPersonLevel oDaoPersonLevel = new DaoPersonLevelImpl(); result = oDaoPersonLevel.personLevelIsDuplicate(Util.Tools.ePersonLevelNotDuplicate()); result.Should().Be(0); }
public void personLevelDuplicateYes() { int result = -1; I_DaoPersonLevel oDaoPersonLevel = new DaoPersonLevelImpl(); result = oDaoPersonLevel.personLevelIsDuplicate(Util.Tools.ePersonLevelDuplicate()); result.Should().BeGreaterThan(0); }
public void personLevelDelOk() { int result = -1; I_DaoPersonLevel oDaoPersonLevel = new DaoPersonLevelImpl(); oDaoPersonLevel.personLevelIns(Util.Tools.ePersonLevelOk()); result = oDaoPersonLevel.personLevelDel("TEST"); result.Should().Be(1); }
protected void Page_Load(object sender, EventArgs e) { /*DModulo moduloDao = new DModulo(); * List<String> list = new List<String>() { "AD","AUD","BBOX" }; * moduloDao.moduloLstGetByIds(list);*/ /*DModulo moduloDao = new DModulo(); * moduloDao.moduloCmb();*/ /*I_BL_Modulo oBL_Modulo = new BL_ModuloImpl(); * oBL_Modulo.moduloCmb();*/ E_PersonLevel oEPersonLevel = new E_PersonLevel(); oEPersonLevel.setId_Level("TEST"); oEPersonLevel.setLevel_Description("TEST LEVEL"); oEPersonLevel.setLevel_Status(true); oEPersonLevel.setLevel_CreateBy("psalas"); oEPersonLevel.setLevel_DateBy(DateTime.Today.ToString()); I_DaoPersonLevel oDaoPersonLevel = new DaoPersonLevelImpl(); oDaoPersonLevel.personLevelIns(oEPersonLevel); }