Beispiel #1
0
        public void DeleteTaskTest()
        {
            ProjectManagerBL tb     = new ProjectManagerBL(dbContext.Object);
            string           result = tb.DeleteTask(3);

            Assert.AreEqual(result, "Task Deleted Successfully");
        }
Beispiel #2
0
        public IHttpActionResult DeleteTask(int id)
        {
            ProjectManagerBL obj = new ProjectManagerBL(_db);

            return(Ok(obj.DeleteTask(id)));
        }