Beispiel #1
0
 public static void MaterialAuditRefuseRequestTest()
 {
     var service  = new AdminDataService();
     var response = service.HandleMaterialAuditRefuseRequest(new MaterialAuditRefuseRequest()
     {
         Secondary_passward = "123456", AdminID = 13, Number = "18"
     });
 }
Beispiel #2
0
 public static void SecondaryPasswordChangeRequestTest()
 {
     var service  = new AdminDataService();
     var response = service.HandleSecondaryPasswordChangeRequest(new SecondaryPasswordChangeRequest()
     {
         AdminID = 1, New_password = "******", Old_password = "******"
     });
 }
Beispiel #3
0
        public static void MaterialAuditListRequestTest()
        {
            var service = new AdminDataService();

            /*var response = service.HandleMaterialAuditListRequest(new MaterialAuditListRequest() { state=AdminState.WAIT, AdminID = -1});
             * if (response.m_normals.Count > 0)
             * {
             *  Console.WriteLine("Pass MaterialAuditListRequestTest");
             * }*/
            var response = service.HandleMaterialAuditListRequest(new MaterialAuditListRequest()
            {
                state = AdminState.FINISH, AdminID = 1
            });

            if (response.m_normals.Count > 0)
            {
                Console.WriteLine("Pass MaterialAuditListRequestTest");
            }
        }