/// <summary> /// 构造函数 /// </summary> public Shop() { if (_shop == null) { this._shop = new ShopDAL(); } }
public ShopController(I_Shop shop) { this._shop = shop; }