public void CloseProblem()
        {
            var memberCreatingResponse = _session.Single <Member>().Get();

            _conn.Collection <Member>(CollectionNames.Member).Save(memberCreatingResponse);

            var problem = _problemService.CreateProblem("Problem 3244", "Some description", memberCreatingResponse);

            _problemService.CloseProblem(problem.Id.ToString(), memberCreatingResponse);

            var fromDb = _problemCollection.AsQueryable().Where(x => x.Id == problem.Id).First();

            Assert.That(fromDb.CurrentSolution, Is.Null); // No solution was found.
            Assert.That(fromDb.ClosureDate, Is.Not.Null);
        }
        public ActionResult Close(String id)
        {
            var member = _memberRepository.Get(MemberInformations.OpenId);

            _problemService.CloseProblem(id, member);
            return(RedirectToAction("Index", "Home"));
        }