public AccountController(ApplicationUserManager userManager, ISecureDataFormat <AuthenticationTicket> accessTokenFormat, IApiDataRepository repo) { UserManager = userManager; IApiDataRepository _repo = repo; AccessTokenFormat = accessTokenFormat; }
public Job(JobDescriptor jobDescription, Guid workerId, ILocator locator) { _serviceLocator = locator; _jobRepository = locator.Locate<IJobRepository>(); _apiRepository = locator.Locate<IApiDataRepository>(); Id = jobDescription.Id; WorkerId = workerId; JobDescriptor = jobDescription; }
public Job(JobDescriptor jobDescription, Guid workerId, ILocator locator) { _serviceLocator = locator; _jobRepository = locator.Locate <IJobRepository>(); _apiRepository = locator.Locate <IApiDataRepository>(); Id = jobDescription.Id; WorkerId = workerId; JobDescriptor = jobDescription; }
public UpdateUserCodeLocationsJob(JobDescriptor jobDescription, Guid workerId, ILocator locator) : base(jobDescription, workerId, locator) { _apiDataRepository = locator.Locate<IApiDataRepository>(); _codeLocationRepository = locator.Locate<ICodeLocationRepository>(); }
public ProjectsController(IApiDataRepository repository) { _repository = repository; }
public UpdateUserCodeLocationsJob(JobDescriptor jobDescription, Guid workerId, ILocator locator) : base(jobDescription, workerId, locator) { _apiDataRepository = locator.Locate <IApiDataRepository>(); _codeLocationRepository = locator.Locate <ICodeLocationRepository>(); }