/// <summary> /// Initializes a new instance of the <see cref="NhanVienController" /> class. /// </summary> /// <param name="currentService">The chat lieu service.</param> public NhanVienController(INhanVienService currentService, ICongViecService congViecService) { this.currentService = currentService; this.congViecService = congViecService; dangNhapView = new DangNhapView(this); nhanVienView = new NhanVienView(this); }
/// <summary> /// Initializes a new instance of the <see cref="CongViecController"/> class. /// </summary> /// <param name="CongViecService">The cong viec service.</param> public CongViecController(ICongViecService CongViecService) { this.CongViecService = CongViecService; view = new CongViecView(this); }
public CongViecController(ICongViecService congViecService) { _congViecService = congViecService; }