public LandingController(Routes routes, IAuthApi authApi, IUsersApi usersApi, IAppActionsApi appActionsApi) { _routes = routes; _authApi = authApi; _usersApi = usersApi; _appActionsApi = appActionsApi; }
public LandingController() { _routes = new Routes(); var contextProvider = new HttpContextProvider(); _authApi = new AuthApi(contextProvider); _usersApi = new UsersApi(contextProvider); _appActionsApi = new AppActionsApi(contextProvider); }