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(); }
public UserService(IUntiOfWork uow) { Database = uow; }
public HomeController(IUntiOfWork uof) { db = uof; }
public UserService(IUntiOfWork untiOfWork, IMapper mapper) { db = untiOfWork; this.mapper = mapper; }