Beispiel #1
0
        public WordsService(IUntiOfWork untiOfWork, IMapper mapper)
        {
            this.mapper    = mapper;
            db             = untiOfWork;
            scheduledUsers = new List <User>();

            //10 sec
            timer          = new Timer(10000);
            timer.Elapsed += new ElapsedEventHandler(GetScheduledUsers);
            //timer.Start();
        }
Beispiel #2
0
 public UserService(IUntiOfWork uow)
 {
     Database = uow;
 }
Beispiel #3
0
 public HomeController(IUntiOfWork uof)
 {
     db = uof;
 }
Beispiel #4
0
 public UserService(IUntiOfWork untiOfWork, IMapper mapper)
 {
     db          = untiOfWork;
     this.mapper = mapper;
 }