Ejemplo n.º 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;
                };
        }
Ejemplo n.º 2
0
        /*protected const string EmailPassword = "******";*/

        public DatabaseUserStorage(ILmsService lmsService, LinqLogger logger)
        {
            this.lmsService = lmsService;
            this.Logger = logger;
        }
Ejemplo n.º 3
0
 public DatabaseCurriculumStorage(ILmsService lmsService, LinqLogger logger)
 {
     this.LmsService = lmsService;
     this.Logger = logger;
 }
Ejemplo n.º 4
0
 public MixedCourseStorage(ILmsService lmsService, LinqLogger logger)
 {
     this.LmsService = lmsService;
     this.Logger = logger;
 }
Ejemplo n.º 5
0
 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;
		}
Ejemplo n.º 7
0
		public FakeDatabaseUserStorage(ILmsService lmsService, LinqLogger logger, string username): base(lmsService, logger)
		{
			this._username = username;
		}