Example #1
0
        // POST: api/TaskManager
        public void AddProject([FromBody] Project project)
        {
            TaskManagerBL taskManagerBL = new TaskManagerBL();

            taskManagerBL.AddProject(new DA.Project()
            {
                Project1   = project.Name,
                Priority   = project.Priority,
                End_Date   = Convert.ToDateTime(project.EndDate),
                Start_Date = Convert.ToDateTime(project.StartDate)
            });
        }