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