Beispiel #1
0
        public void Post([FromBody] Projectset item)
        {
            Project project = new Project();

            project.ProjectName = item.ProjectName;
            project.Start_Date  = item.Start_Date;
            project.End_Date    = item.End_Date;
            project.Priority    = item.Priority;
            project.Status      = item.Status;
            int projectid = pbl.AddProjects(project);

            pbl.UpdateUserProjectId(item.User_ID, projectid);
        }