Exemplo n.º 1
0
 public static AscmEmployeeService GetInstance()
 {
     //return ascmEmployeeServices ?? new AscmEmployeeService();
     if (ascmEmployeeServices == null)
         ascmEmployeeServices = new AscmEmployeeService();
     return ascmEmployeeServices;
 }
Exemplo n.º 2
0
 public static AscmEmployeeService GetInstance()
 {
     //return ascmEmployeeServices ?? new AscmEmployeeService();
     if (ascmEmployeeServices == null)
     {
         ascmEmployeeServices = new AscmEmployeeService();
     }
     return(ascmEmployeeServices);
 }