public BusinessLogic(IDataAccess _dataAccess) { FormLogic = new FormLogic(_dataAccess); TokenLogic = new TokenLogic(_dataAccess); UserLogic = new UserLogic(_dataAccess); AuthLogic = new AuthLogic(_dataAccess); CategoryLogic = new CategoryLogic(_dataAccess); }
/// <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); }