/// <summary> /// Read CSV file and convert to Commission list /// </summary> /// <returns>Commission list</returns> public List <Commission> GetCommissions() { var commissions = new List <Commission>(); //Convert line by line to list of commisions commissions = OrdersFile.Select(e => Commission.FromCsv(e)).ToList(); return(commissions); }