protected void Page_Load(object sender, EventArgs e) { uow = new UnitOfWork(); if (!IsPostBack) { BindGrid(); //--- } }
/// <summary> /// Public constructor. /// </summary> public ProductService() { _unitOfWork = new UnitOfWork(); }
protected void Page_Load(object sender, EventArgs e) { uow = new UnitOfWork(); if (!IsPostBack) { BindGrid(); //--- } }
/// <summary> /// Public constructor. /// </summary> public ProductService() { _unitOfWork = new UnitOfWork(); }