Esempio n. 1
0
        internal void SaveIncoming(double value, DateTime date, object account, object category)
        {
            var acc = (from a in GetAccountList()
                       where a.Name.Equals(((Account)account).Name)
                       select a).FirstOrDefault();

            database.AddIncoming(value, date, acc, (ItemCategory)category);
        }