GlobalInfo.cs 537 B

123456789101112131415161718
  1. using examPrepare.Models;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace examPrepare
  8. {
  9. internal class GlobalInfo
  10. {
  11. public static UP_41P_GroshevIEntities conn = new UP_41P_GroshevIEntities();
  12. public static User user { get; set; }
  13. public static Dictionary<string, int> cart { get; set; } = new Dictionary<string, int>();
  14. public delegate void setUpProductCount();
  15. public static setUpProductCount setUpProductCountFunc = null;
  16. }
  17. }