AppSession.cs 543 Bytes
using HHECS.Bll;
using HHECS.Model;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HHECS
{
    public static class AppSession
    {
        public static User User { get; set; }

        public static string ConnectionString { get; set; } = ConfigurationManager.AppSettings["connectStr"];

        public static string LogPath { get; set; }

        public static IBll Bll { get; set; } = new DefaultBll(ConnectionString);

    }
}