Example #1
0
        //
        // GET: /Area/

        public AskLeaveController(IAskLeaveService AskLeaveService, IOvertimeService OvertimeService)
        {
            this.AskLeaveService = AskLeaveService;
            this.OvertimeService = OvertimeService;
        }
        //
        // GET: /Area/

        public OTController(IOvertimeService OvertimeService, IAskLeaveService AskLeaveService)
        {
            this.OvertimeService = OvertimeService;
        }
Example #3
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="overtimeService">加班管理服务</param>
 /// <param name="askLeaveService">请假管理服务</param>
 /// <param name="userService">用户管理服务</param>
 public OrderController(IOvertimeService overtimeService, IOrderService orderService, IAskLeaveService askLeaveService, IUserService userService)
 {
     this.OvertimeService = overtimeService;
     this.AskLeaveService = askLeaveService;
     this.OrderService    = orderService;
     this.UserService     = userService;
 }