Ejemplo n.º 1
0
        public void CreateUser()
        {
            var userService = new Gambit.Services.User();
            var result = userService.Create(new Models.User()
            {

            });

            Assert.IsTrue(result, "User was not created");
        }
Ejemplo n.º 2
0
        public void LogActivity()
        {
            var userActivityService = new Gambit.Services.UserActivity();

            var userService = new Gambit.Services.User();
            var user = new Models.User()
            {

            };

            var result = userService.Create(user);

            var userActivity = new Gambit.Models.UserActivity();

            userActivityService.RecordUserActivity(userActivity);
        }