/// <summary> /// Initializes a new instance of the <see cref="SanPhamController" /> class. /// </summary> /// <param name="SanPhamService">The chat lieu service.</param> public SanPhamController(ISanPhamService sanPhamService, ITheLoaiService theLoaiService, IKichCoService kichCoService, IChatLieuService chatLieuService, IMauService mauService, IMuaService muaService, IDoiTuongService doiTuongService, INuocSanXuatService nuocSxService) { this.sanPhamService = sanPhamService; this.theLoaiService = theLoaiService; this.kichCoService = kichCoService; this.chatLieuService = chatLieuService; this.mauService = mauService; this.muaService = muaService; this.doiTuongService = doiTuongService; nuocSXService = nuocSxService; sanPhamView = new SanPhamView(this); }
public BaoCaoController(IHoaDonNhapService hoaDonNhapService, ITheLoaiService theLoaiService, IKichCoService kichCoService, IChatLieuService chatLieuService, IMauService mauService, IMuaService muaService, IDoiTuongService doiTuongService, INuocSanXuatService nuocSxService, ISanPhamService sanPhamService, IChiTietHDBService chiTietHdbService, INhanVienService nhanVienService, IKhachHangService khachHangService, IHoaDonBanService hoaDonBanService) { this.hoaDonNhapService = hoaDonNhapService; this.theLoaiService = theLoaiService; this.kichCoService = kichCoService; this.chatLieuService = chatLieuService; this.mauService = mauService; this.muaService = muaService; this.doiTuongService = doiTuongService; this.nuocSxService = nuocSxService; this.sanPhamService = sanPhamService; this.chiTietHdbService = chiTietHdbService; this.nhanVienService = nhanVienService; this.khachHangService = khachHangService; this.hoaDonBanService = hoaDonBanService; }
/// <summary> /// Initializes a new instance of the <see cref="HoaDonNhapController" /> class. /// </summary> /// <param name="hoaDonNhapService">The hoa don nhap service.</param> /// <param name="theLoaiService">The loai service.</param> /// <param name="kichCoService">The kich co service.</param> /// <param name="chatLieuService">The chat lieu service.</param> /// <param name="mauService">The mau service.</param> /// <param name="muaService">The mua service.</param> /// <param name="doiTuongService">The doi tuong service.</param> /// <param name="nuocSxService">The nuoc sx service.</param> public HoaDonNhapController(IHoaDonNhapService hoaDonNhapService, ITheLoaiService theLoaiService, IKichCoService kichCoService, IChatLieuService chatLieuService, IMauService mauService, IMuaService muaService, IDoiTuongService doiTuongService, INuocSanXuatService nuocSxService, ISanPhamService sanPhamService, IChiTietHDNService chiTietHdnService, INhanVienService nhanVienService, INhaCungCapService nhaCungCapService) { this.hoaDonNhapService = hoaDonNhapService; this.theLoaiService = theLoaiService; this.kichCoService = kichCoService; this.chatLieuService = chatLieuService; this.mauService = mauService; this.muaService = muaService; this.doiTuongService = doiTuongService; this.nuocSxService = nuocSxService; this.sanPhamService = sanPhamService; this.chiTietHdnService = chiTietHdnService; this.nhanVienService = nhanVienService; this.nhaCungCapService = nhaCungCapService; hoaDonNhapView = new HoaDonNhapView(this); }
/// <summary> /// Initializes a new instance of the <see cref="TheLoaiController"/> class. /// </summary> /// <param name="currentService">The chat lieu service.</param> public TheLoaiController(ITheLoaiService currentService) { this.currentService = currentService; view = new TheLoaiView(this); }
public TheLoaiController(ITheLoaiService theLoaiService) { this.theLoaiService = theLoaiService; }
public SachController(ITheLoaiService theLoaiService, ISachService sachService) { _theLoaiService = theLoaiService; _sachService = sachService; }