예제 #1
0
 public JobsController(IJobRepository jobRepository,
                       IInvoiceRepository repository,
                       UserManager <ApplicationUser> userManager,
                       IMapper mapper,
                       IUnitOfWork unitOfWork,
                       IJobBudgetRepository jobBudgetRepostiory,
                       IEmailServiceClient emailServiceClient)
 {
     _jobRepository      = jobRepository;
     _userManager        = userManager;
     _mapper             = mapper;
     _unitOfWork         = unitOfWork;
     _emailServiceClient = emailServiceClient;
 }
예제 #2
0
 public InvoicesController(IInvoiceRepository repository,
                           IUnitOfWork unitOfWork,
                           IMapper mapper,
                           UserManager <ApplicationUser> userManager,
                           IOptions <PhotoAppSettings> photoSettings,
                           IOptions <AwsAppSettings> awsSettings,
                           IAwsServiceClient awsServiceClient,
                           IJobBudgetRepository jobBudgetRepository
                           )
 {
     _awsAppSettings      = awsSettings.Value;
     _photoAppSettings    = photoSettings.Value;
     _repository          = repository;
     _userManager         = userManager;
     _unitOfWork          = unitOfWork;
     _mapper              = mapper;
     _jobBudgetRepository = jobBudgetRepository;
     _awsServiceClient    = awsServiceClient;
 }
예제 #3
0
 public JobBudgetsController(IJobBudgetRepository jobBudgetRepostiory, IMapper mapper, IUnitOfWork unitOfWork)
 {
     _jobBudgetRepostiory = jobBudgetRepostiory;
     _mapper     = mapper;
     _unitOfWork = unitOfWork;
 }