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