Ejemplo n.º 1
0
 public HomeController(ILogger <HomeController> logger, ITaskService taskService, IUserService userService, ITaskTypeService taskTypeManager)
 {
     _logger          = logger;
     _taskManager     = taskService;
     _userManager     = userService;
     _taskTypeManager = taskTypeManager;
 }
Ejemplo n.º 2
0
 public TaskOperations(ITaskTypeService typeTaskService, IMapper mapper, IUserTaskService userTaskServer, IProjectService projectServer)
 {
     _typeTaskService = typeTaskService;
     _userTaskServer  = userTaskServer;
     _projectServer   = projectServer;
     _mapper          = mapper;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// CRM任务管理初始化
 /// </summary>
 /// <param name="taskService">taskService</param>
 /// <param name="taskTypeService">taskTypeService</param>
 /// <param name="taskAwardService">taskAwardService</param>
 /// <param name="taskTagService">taskTagService</param>
 /// <param name="taskPunishmentService">taskPunishmentService</param>
 /// <param name="taskListService">taskListService</param>
 /// <param name="brokerService">brokerService</param>
 /// <param name="workContext">workContext</param>
 public TaskController(ITaskService taskService,
     ITaskTypeService taskTypeService,
     ITaskAwardService taskAwardService,
     ITaskTagService taskTagService,
     ITaskPunishmentService taskPunishmentService,
     ITaskListService taskListService,
     IBrokerService brokerService,
     IWorkContext workContext,
     IUserService userService
     )
 {
     _taskService = taskService;
     _taskTypeService = taskTypeService;
     _taskAwardService = taskAwardService;
     _taskTagService = taskTagService;
     _taskPunishmentService = taskPunishmentService;
     _taskListService = taskListService;
     _brokerService = brokerService;
     _workContext = workContext;
     _userservice = userService;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// CRM任务管理初始化
 /// </summary>
 /// <param name="taskService">taskService</param>
 /// <param name="taskTypeService">taskTypeService</param>
 /// <param name="taskAwardService">taskAwardService</param>
 /// <param name="taskTagService">taskTagService</param>
 /// <param name="taskPunishmentService">taskPunishmentService</param>
 /// <param name="taskListService">taskListService</param>
 /// <param name="brokerService">brokerService</param>
 /// <param name="workContext">workContext</param>
 public TaskController(ITaskService taskService,
                       ITaskTypeService taskTypeService,
                       ITaskAwardService taskAwardService,
                       ITaskTagService taskTagService,
                       ITaskPunishmentService taskPunishmentService,
                       ITaskListService taskListService,
                       IBrokerService brokerService,
                       IWorkContext workContext,
                       IUserService userService
                       )
 {
     _taskService           = taskService;
     _taskTypeService       = taskTypeService;
     _taskAwardService      = taskAwardService;
     _taskTagService        = taskTagService;
     _taskPunishmentService = taskPunishmentService;
     _taskListService       = taskListService;
     _brokerService         = brokerService;
     _workContext           = workContext;
     _userservice           = userService;
 }
Ejemplo n.º 5
0
 public TaskTypeController(ITaskTypeService service, IMapper mapper)
 {
     _service = service;
     _mapper  = mapper;
 }
Ejemplo n.º 6
0
 public TaskTypeController(ITaskTypeService taskTypeService)
 {
     _taskTypeService = taskTypeService;
 }
Ejemplo n.º 7
0
 public TaskTypesController()
 {
     this.taskTypeService = new TaskTypeService();
 }
Ejemplo n.º 8
0
 public TaskTypeApiController(ITaskTypeService taskTypeService)
 {
     this._taskTypeService = taskTypeService;
 }
 public TasksController(ITaskService taskService, ITaskTypeService taskTypeService)
 {
     this.taskService     = taskService;
     this.taskTypeService = taskTypeService;
 }
Ejemplo n.º 10
0
 public TaskTypeController(ITaskTypeService taskTypeService,
                           IUserService userService) : base(userService)
 {
     _taskTypeService = taskTypeService;
 }
Ejemplo n.º 11
0
 public TaskTypeController(ITaskTypeService taskTypeService, IMapper mapper, ILoggerService logger)
 {
     _taskTypeService = taskTypeService;
     _mapper          = mapper;
     _logger          = logger;
 }