This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private List<Dictionary<string, object>> CSVToListOfDictionary(string csv) | |
{ | |
var items = new List<Dictionary<string, object>>(); | |
var headers = new List<object>(); | |
var lines = csv.Split(new string[] { "\r\n", "\n" }, StringSplitOptions.None); | |
for (var i = 0; i < lines.Length; i++) | |
{ | |
var line = lines[i].Trim(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Prognose.Domain; | |
using System; | |
using System.Collections.Generic; | |
using System.Data.Entity; | |
using System.Linq; | |
using System.Linq.Expressions; | |
namespace App.Domain | |
{ | |
public interface IEntity |