Example #1
0
        protected void Button11_Click(object sender, EventArgs e)
        {
            BWorkedTime bus = new BWorkedTime();

            bus.GetUnderManagmentByDepartment(2, 57, 0, 30, GridOrderFields.NONE, GridOrderFieldType.asc);
            bus.GetUnderManagmentBySearch(2, "3551329", GridSearchFields.PersonCode, 0, 30, GridOrderFields.NONE, GridOrderFieldType.asc);
            bus.GetUnderManagmentBySearchCount(2, "3551329", GridSearchFields.PersonCode);
        }
Example #2
0
        protected void Button35_Click(object sender, EventArgs e)
        {
            BWorkedTime bus = new BWorkedTime();

            bus.GetUnderManagmentBySearchCount(10, "رضایی", GridSearchFields.NONE);
        }
Example #3
0
        public void GetUnderManagmentBySearchNameCount_Test()
        {
            int result = bussWorkTime.GetUnderManagmentBySearchCount(0, "alian", GridSearchFields.PersonName);

            Assert.IsTrue(result >= 3);
        }