public DiagramsCreator(WcfLogin Login, OxyPlotModel oxyPlotModel)
 {
     cl = new DietCalendarService2Client();
     this.Login = Login;
     Consumed = cl.DownloadConsumed(Login).ToList();
     AllDate = GetaDate(Consumed);
     this.OxyPlotModel = oxyPlotModel;
 }
     public ExcelImporter(string excelFilePath, WcfLogin login)
     {
         ConnectionString = @"provider=Microsoft.ACE.OLEDB.12.0;data source=" + excelFilePath +
             ";extended properties=" + "\"excel 8.0;hdr=yes;\"";
         this.Login = login;
         Con = new OleDbConnection(ConnectionString);
         Cl = new DietCalendarService2Client();
 
         AddFavouriteFromExcel();
         AddConsumedFromExcel();
     }