public Regra(string currentLogin, Dao.Boloes.IDaoBolaoRegras daoBase) { if (daoBase == null) { throw new ArgumentNullException("daoBase"); } _currentLogin = currentLogin; _daoBase = daoBase; }
public Regra(string currentLogin) { _currentLogin = currentLogin; _daoBase = new Dao.Boloes.SQLSupport.Regras(); }