Esempio n. 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="objDataAccess"></param>
 public AuthLogic(IAzureDataAccess objDataAccess)
 {
     // Primesc obiectul, nu e treaba AuthLogic ce dataAccess se foloseste
     // Unity are grija de dependency injection
     _dataAccess = objDataAccess;
     TokenLogic  = new TokenLogic(_dataAccess);
 }
Esempio n. 2
0
 public BusinessLogic(IDataAccess _dataAccess)
 {
     FormLogic = new FormLogic(_dataAccess);
     TokenLogic = new TokenLogic(_dataAccess);
     UserLogic = new UserLogic(_dataAccess);
     AuthLogic = new AuthLogic(_dataAccess);
     CategoryLogic = new CategoryLogic(_dataAccess);
 }
Esempio n. 3
0
        public AuthLogic(IDataAccess objDataAccess)
        {
            //primesc obiectul, nu e treaba UserLogic ce dataAccess se foloseste
            //unity are grija de dependency injection

            _dataAccess = objDataAccess;
            TokenLogic = new TokenLogic(_dataAccess);
        }
Esempio n. 4
0
 public BusinessLogic(IDataAccess _dataAccess)
 {
     FormLogic     = new FormLogic(_dataAccess);
     TokenLogic    = new TokenLogic(_dataAccess);
     UserLogic     = new UserLogic(_dataAccess);
     AuthLogic     = new AuthLogic(_dataAccess);
     CategoryLogic = new CategoryLogic(_dataAccess);
 }
Esempio n. 5
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="dataAccess"></param>
 public BusinessLogic(IAzureDataAccess dataAccess)
 {
     AuthLogic       = new AuthLogic(dataAccess);
     CarLogic        = new CarLogic(dataAccess);
     CarUtilityLogic = new CarUtilityLogic(dataAccess);
     DriverCarLogic  = new DriverCarLogic(dataAccess);
     MessageLogic    = new MessageLogic(dataAccess);
     TokenLogic      = new TokenLogic(dataAccess);
     UserLogic       = new UserLogic(dataAccess);
     UtilityLogic    = new UtilityLogic(dataAccess);
 }