public AssigneeApplicationService(
            ITransaction transaction,
            IAssigneeRepository assigneeRepository)
        {
            _transaction        = transaction;
            _assigneeRepository = assigneeRepository;

            var mappingConfig = AutoMapperConfiguration.RegisterMappings();

            _mapper = mappingConfig.CreateMapper();
        }
Ejemplo n.º 2
0
 public DeviceAssignmentController(IMapper mapper,
                                   IAssignmentRepository repo,
                                   IAuthority auth,
                                   IDeviceRepository deviceRepo,
                                   IAssigneeRepository assigneeRepo)
 {
     _mapper       = mapper;
     _repo         = repo;
     _auth         = auth;
     _deviceRepo   = deviceRepo;
     _assigneeRepo = assigneeRepo;
 }
Ejemplo n.º 3
0
        public WorkApplicationService(
            ITransaction transaction,
            IWorkRepository workRepository,
            IAssigneeRepository assigneeRepository,
            IEpicRepository epicRepository,
            IWorkSheetRepository workSheetRepository)
        {
            _transaction         = transaction;
            _workRepository      = workRepository;
            _assigneeRepository  = assigneeRepository;
            _epicRepository      = epicRepository;
            _workSheetRepository = workSheetRepository;

            var mappingConfig = AutoMapperConfiguration.RegisterMappings();

            _mapper = mappingConfig.CreateMapper();
        }
Ejemplo n.º 4
0
 public AssigneeController(IMapper mapper, IAssigneeRepository repo, IAuthority auth)
 {
     _mapper = mapper;
     _repo   = repo;
     _auth   = auth;
 }
Ejemplo n.º 5
0
 public AssigneeManager(IAssigneeRepository assigneeManager)
 {
     _assigneeRepository = assigneeManager;
 }
Ejemplo n.º 6
0
 public AssigneeService(IAssigneeRepository assigneeRepository)
 {
     _assigneeRepository = assigneeRepository ?? throw new NullReferenceException("Repo cannot be null");;
 }
Ejemplo n.º 7
0
 public TodoController(ITodoRepository todoRepo, IAssigneeRepository assigneeRepo)
 {
     todoRepository        = todoRepo;
     assigneeRepository    = assigneeRepo;
     TodoAssigneeViewModel = new TodoAssigneeViewModel();
 }
Ejemplo n.º 8
0
 public AssigneeController(IAssigneeRepository repository)
 {
     assigneeRepository = repository;
 }
Ejemplo n.º 9
0
 public AssigneeService(IAssigneeRepository assigneeRepo)
 {
     _assigneeRepo = assigneeRepo;
 }