Example #1
0
        public void Create(UserExample model)
        {
            // Call to your repository
            _uow.Repository.UserRepository.Add(model);

            // Save changes
            _uow.SaveChanges();
        }
Example #2
0
    void Start()
    {
        Debug.Log("C#: TapjoySample start and adding Tapjoy Delegates");
        // Grab references to sample application components
        mainUIView  = gameObject.GetComponentsInChildren <PlacementExample>(true)[0];
        eventUIView = gameObject.GetComponentsInChildren <EventExample>(true)[0];
        userUIView  = gameObject.GetComponentsInChildren <UserExample>(true)[0];

        // Connect Delegates
        Tapjoy.OnConnectSuccess += HandleConnectSuccess;
        Tapjoy.OnConnectFailure += HandleConnectFailure;
    }
    void Start()
    {
        Debug.Log("C#: TapjoySample start and adding Tapjoy Delegates");
        // Grab references to sample application components
        mainUIView = gameObject.GetComponentsInChildren<PlacementExample>(true)[0];
        eventUIView = gameObject.GetComponentsInChildren<EventExample>(true)[0];
        userUIView = gameObject.GetComponentsInChildren<UserExample>(true)[0];

        // Connect Delegates
        Tapjoy.OnConnectSuccess += HandleConnectSuccess;
        Tapjoy.OnConnectFailure += HandleConnectFailure;
    }