Example #1
0
        public DatabaseBanStorage(ILmsService lmsService, LinqLogger logger)
        {
            this.LmsService = lmsService;
            this.Logger = logger;
            this.CreateIDataContext = () =>
                {
                    var db = new DBDataContext();

#if DEBUG
                    db.Log = logger;
#endif

                    return db;
                };
        }
Example #2
0
        /*protected const string EmailPassword = "******";*/

        public DatabaseUserStorage(ILmsService lmsService, LinqLogger logger)
        {
            this.lmsService = lmsService;
            this.Logger = logger;
        }
 public DatabaseCurriculumStorage(ILmsService lmsService, LinqLogger logger)
 {
     this.LmsService = lmsService;
     this.Logger = logger;
 }
Example #4
0
 public MixedCourseStorage(ILmsService lmsService, LinqLogger logger)
 {
     this.LmsService = lmsService;
     this.Logger = logger;
 }
 public DatabaseDisciplineStorage(ILmsService lmsService, LinqLogger logger)
 {
     this.lmsService = lmsService;
     this.logger = logger;
 }
		public FakeDatabaseDisciplineStorage(ILmsService lmsService, LinqLogger logger, string username): base(lmsService, logger)
		{
         this.lmsService = lmsService;
			this._username = username;
		}
		public FakeDatabaseUserStorage(ILmsService lmsService, LinqLogger logger, string username): base(lmsService, logger)
		{
			this._username = username;
		}