Exemple #1
0
 public void Init()
 {
     _ehrmannCore = EhrmannCore.Create(SourceType.MSSQL, ConnectionString);
 }
Exemple #2
0
 public static bool DeleteContract(IEhrmannCore ehrmannCore, ICoreContract coreContract)
 {
     return(ehrmannCore.DeleteContract(coreContract));
 }
Exemple #3
0
 public static ICoreContract CreateContract(IEhrmannCore ehrmannCore, string name, DateTime startDate, DateTime endDate)
 {
     return(ehrmannCore.CreateContract(name, startDate, endDate));
 }
Exemple #4
0
 public static ICoreContract UpdateContract(IEhrmannCore ehrmannCore, ICoreContract coreContract)
 {
     return(ehrmannCore.UpdateContract(coreContract));
 }
Exemple #5
0
 public static IEnumerable <ICoreContract> GetContracts(IEhrmannCore ehrmannCore)
 {
     return(ehrmannCore.GetContracts());
 }