コード例 #1
0
        public void NUnit_Domain_DeleteCatEmployeeType()
        {
            Cat_EmployeeTypeServices service = new Cat_EmployeeTypeServices();
            string result = string.Empty;
            int rs = 0;
           
                var employeeType = new Cat_EmployeeType { Id =  1};
                result = service.Delete<Cat_EmployeeTypeMultiEntity>(employeeType.Id);
                if (result != string.Empty)
                {
                    rs += 1;
                    Console.WriteLine("Process Success >>> Delete >>> " + 1);
                }
            
            Console.WriteLine("Total success record: " + rs);

            //NUnit.Framework.Assert.IsTrue(result);
        }
コード例 #2
0
        public void NUnit_Domain_DeleteEternityCatEmployeeType()
        {
            Cat_EmployeeTypeServices service = new Cat_EmployeeTypeServices();
            string result = string.Empty;
            int    rs     = 0;

            var employeeType = new Cat_EmployeeType {
                Id = 1
            };

            result = service.Delete <Cat_EmployeeTypeMultiEntity>(employeeType.Id);
            if (result != string.Empty)
            {
                rs += 1;
                Console.Write(" Process Success >>> DeleteEternity >>> " + 1);
            }

            Console.WriteLine("Total success record: " + rs);
            //NUnit.Framework.Assert.IsTrue(result);
        }