Exemplo n.º 1
0
        public void ShouldGenerateDataBase()
        {
            var user = new User {
                FirstName = "Dennis", LastName = "Liu", LoginName = "Dliu"
            };

            _sut.CreateUser(user);
        }
Exemplo n.º 2
0
        // POST api/logtracker
        public void Post([FromBody] string value)
        {
            var user = new User {
                FirstName = "Test1", LastName = "Liu", LoginName = "Dliu"
            };

            _logTrackerDataAccess.CreateUser(user);
        }