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 })); }
public bool Leaving_Project(string projmanager, string projectname, string username) { var prjmembDal = new ProjectMembersDal(); return(true); }