public UserService(IRepository<PersonalInformation, long> personalInfo, IEmailSender emailSender, IAsyncRunner iAsyhcRunner, HttpContextBase httpContextBase) { this._personalInformation = personalInfo; this._EmailSender = emailSender; this._IAsyncRunner = iAsyhcRunner; this._IHttpContextBase = httpContextBase; }
public ListEmployeeViewModel() { _asyncRunner = new AsyncRunner(); _employees = new[] { new EmployeeInfo { Id = 1, FirstName = "Jack", LastName = "Smith", Position = "Developer" }, new EmployeeInfo { Id = 2, FirstName = "James", LastName = "Smith", Position = "Designer" } }; _employeeListVisibility = Visibility.Visible; _loadIndictorVisibility = Visibility.Collapsed; }
public EventController( IMapper mapper, IEventService eventService, IEventListingService eventListingService, IEventUtilitiesService eventUtilitiesService, IEventParticipationService eventParticipationService, IEventCalendarService calendarService, IEventExportService eventExportService, IPostService postService, IOfficeMapService officeMapService, IAsyncRunner asyncRunner) { _mapper = mapper; _eventService = eventService; _eventListingService = eventListingService; _eventUtilitiesService = eventUtilitiesService; _eventParticipationService = eventParticipationService; _calendarService = calendarService; _eventExportService = eventExportService; _postService = postService; _officeMapService = officeMapService; _asyncRunner = asyncRunner; }
public CommitteesService(IMapper mapper, IUnitOfWork unitOfWork, IUnitOfWork2 uow, IAsyncRunner asyncRunner) { _mapper = mapper; _unitOfWork = unitOfWork; _applicationUserRepository = _unitOfWork.GetRepository <ApplicationUser>(); _committeeRepository = _unitOfWork.GetRepository <Committee>(); _uow = uow; _asyncRunner = asyncRunner; _usersDbSet = uow.GetDbSet <ApplicationUser>(); _committeeDbSet = uow.GetDbSet <Committee>(); }
public ServiceRequestService(IUnitOfWork2 uow, IPermissionService permissionService, IAsyncRunner asyncRunner) { _uow = uow; _serviceRequestsDbSet = _uow.GetDbSet <ServiceRequest>(); _serviceRequestCommentsDbSet = _uow.GetDbSet <ServiceRequestComment>(); _serviceRequestCategoryDbSet = _uow.GetDbSet <ServiceRequestCategory>(); _serviceRequestPriorityDbSet = _uow.GetDbSet <ServiceRequestPriority>(); _serviceRequestStatusDbSet = _uow.GetDbSet <ServiceRequestStatus>(); _userDbSet = _uow.GetDbSet <ApplicationUser>(); _permissionService = permissionService; _asyncRunner = asyncRunner; }
public static void ExecuteAsync(this IAsyncRunner runner, WaitCallback callback, ExceptionCallback exceptionCallback) { runner.ExecuteAsync(AsyncRunType.ThreadPool, callback, exceptionCallback); }
public static void ExecuteAsync(this IAsyncRunner runner, WaitCallback callback) { ExecuteAsync(runner, AsyncRunType.ThreadPool, callback, null); }
public static void ExecuteAsync(this IAsyncRunner runner, AsyncRunType runType, WaitCallback callback) { ExecuteAsync(runner, runType, callback, null); }
public SlackController(IAsyncRunner Runner) { _runner = Runner; }
public PostController(IMapper mapper, IWallService wallService, IPostService postService, IAsyncRunner asyncRunner) { _mapper = mapper; _wallService = wallService; _postService = postService; _asyncRunner = asyncRunner; }
public CommentController(IMapper mapper, ICommentService commentService, IWallService wallService, IPermissionService permissionService, IAsyncRunner asyncRunner) { _mapper = mapper; _commentService = commentService; _wallService = wallService; _permissionService = permissionService; _asyncRunner = asyncRunner; }
public CommentController(IMapper mapper, ICommentService commentService, IAsyncRunner asyncRunner) { _mapper = mapper; _commentService = commentService; _asyncRunner = asyncRunner; }
public BookController(IMapper mapper, IBookService bookService, IAsyncRunner asyncRunner) { _mapper = mapper; _bookService = bookService; _asyncRunner = asyncRunner; }