コード例 #1
0
 public TechnicianAlert GetTechnicianAlert(int technicianId)
 {
     SmartDispatchBL business = new SmartDispatchBL(new SQLRespository());
     return business.GetTechnicianAlert(technicianId);
 }
コード例 #2
0
 public void Test_GetTechnicianAlert()
 {
     ISmartDispatch dispathBL = new SmartDispatchBL(new SQLRespository());
     var alert = dispathBL.GetTechnicianAlert(1);
     Assert.AreEqual(8, alert.JobId);
 }