private void StartActiveRepo() { List <Models.Copyright> lstCopyright = Dal.CopyrightDb.LoadActiveRepo(); CopyrightServiceV1Client copyrightService = new CopyrightServiceV1Client("BasicHttpBinding_ICopyrightServiceV1"); foreach (var copyright in lstCopyright) { if (!copyrightService.IsProcessing(copyright.RepositoryUrl)) { copyrightService.CallFileHeaderEnforcement(copyright.RepositoryUrl, copyright.CopyrightText, copyright.Emailreport); } //copyright.ForceMessage = "Forcing"; } }
private void StartThread(string pRepoUrl, string pCopyrightText, string pEmail) { CopyrightServiceV1Client copyrightService = new CopyrightServiceV1Client("BasicHttpBinding_ICopyrightServiceV1"); copyrightService.CallFileHeaderEnforcement(pRepoUrl, pCopyrightText, pEmail); }
private void StartThread(string pRepoUrl, string pCopyrightText, string pEmail) { CopyrightServiceV1Client copyrightService = new CopyrightServiceV1Client("BasicHttpBinding_ICopyrightServiceV1"); copyrightService.CallFileHeaderEnforcement(pRepoUrl, pCopyrightText, pEmail); }
private void StartActiveRepo() { List<Models.Copyright> lstCopyright = Dal.CopyrightDb.LoadActiveRepo(); CopyrightServiceV1Client copyrightService = new CopyrightServiceV1Client("BasicHttpBinding_ICopyrightServiceV1"); foreach (var copyright in lstCopyright) { if (!copyrightService.IsProcessing(copyright.RepositoryUrl)) { copyrightService.CallFileHeaderEnforcement(copyright.RepositoryUrl, copyright.CopyrightText, copyright.Emailreport); } //copyright.ForceMessage = "Forcing"; } }