public static void MaterialAuditRefuseRequestTest() { var service = new AdminDataService(); var response = service.HandleMaterialAuditRefuseRequest(new MaterialAuditRefuseRequest() { Secondary_passward = "123456", AdminID = 13, Number = "18" }); }
public static void SecondaryPasswordChangeRequestTest() { var service = new AdminDataService(); var response = service.HandleSecondaryPasswordChangeRequest(new SecondaryPasswordChangeRequest() { AdminID = 1, New_password = "******", Old_password = "******" }); }
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"); } }