コード例 #1
0
        public void Add()
        {
            var id = taskBL.CreateNewTask(new Task
            {
                TaskName  = "Test task2",
                StartDate = DateTime.Now,
                EndDate   = DateTime.Now,
                ProjectId = 1
            });

            Assert.True(id > 0);
        }