コード例 #1
0
        private bool LeaveProject(Request req)
        {
            var pdal = new ProjectsDal();
            int id   = pdal.GetProjectId(new Project {
                ProjectName = req.Projectname, UserName = req.to_user
            });
            var pmember = new ProjectMembersDal();

            return(pmember.DeleteMember(new ProjectMembers {
                ProjectId = id, Member = req.from_user
            }));
        }
コード例 #2
0
        public bool Leaving_Project(string projmanager, string projectname, string username)
        {
            var prjmembDal = new ProjectMembersDal();

            return(true);
        }