示例#1
0
 public static AscmEmployeeService GetInstance()
 {
     //return ascmEmployeeServices ?? new AscmEmployeeService();
     if (ascmEmployeeServices == null)
         ascmEmployeeServices = new AscmEmployeeService();
     return ascmEmployeeServices;
 }
示例#2
0
 public static AscmEmployeeService GetInstance()
 {
     //return ascmEmployeeServices ?? new AscmEmployeeService();
     if (ascmEmployeeServices == null)
     {
         ascmEmployeeServices = new AscmEmployeeService();
     }
     return(ascmEmployeeServices);
 }