public SportsbookController(ISportsbookApiProxy sportsbookApiProxy, IUtilityApiProxy utilityApiProxy, UserContext userContext) { Contract.Requires(sportsbookApiProxy != null); Contract.Requires(utilityApiProxy != null); Contract.Requires(userContext != null); _sportsbookApiProxy = sportsbookApiProxy; _utilityApiProxy = utilityApiProxy; _userContext = userContext; }
public AccountController(IAccountApiProxy accountApiProxy, UserContext userContext, ISportsbookApiProxy sportsbookApiProxy) { Contract.Requires(accountApiProxy != null); Contract.Requires(userContext != null); Contract.Requires(sportsbookApiProxy != null); _accountApiProxy = accountApiProxy; _userContext = userContext; _sportsbookApiProxy = sportsbookApiProxy; }
public AuthenticationController(IAccountApiProxy accountApiProxy, IUtilityApiProxy utilityApiProxy, UserContext userContext, NetworkUtility networkUtility, HttpContextBase httponContextBase, ISportsbookApiProxy sportsbookApiProxy) { Contract.Requires(accountApiProxy != null); Contract.Requires(utilityApiProxy != null); Contract.Requires(userContext != null); Contract.Requires(networkUtility != null); Contract.Requires(sportsbookApiProxy != null); _accountApiProxy = accountApiProxy; _utilityApiProxy = utilityApiProxy; _userContext = userContext; _networkUtility = networkUtility; _httponContextBase = httponContextBase; _sportsbookApiProxy = sportsbookApiProxy; }