private int GetSymbol(string name)
 {
     var symbol = new Symbol();
     try
     {
         symbol = _db.Symbols.Where(s => s.Name == name).FirstOrDefault();
     }
     catch (Exception ex)
     {
         log.Fatal("Could not find Symbol " + name, ex);
     }
     return symbol.Id;
 }
Exemple #2
0
 public CompanyNews(Symbol symbolName, int count)
 {
     throw new NotImplementedException("Need to implement this constructor");
 }