public int Run(string filePath, NinjaCatalogueJsonParser parser) { this.parser = parser; this.ReadJsonFile(filePath); this.SetAllNinjasToDeleted(); this.LoadToMySql(); return this.catalogue.Length; }
public int Run(string filePath, NinjaCatalogueJsonParser parser) { this.parser = parser; this.ReadJsonFile(filePath); this.SetAllNinjasToDeleted(); this.LoadToMySql(); return(this.catalogue.Length); }