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