/// <summary>
        /// Converting problem solution view to database object
        /// </summary>
        /// <param name="psv"></param>
        /// <returns>Problem solution POCO</returns>
        public ProblemSolution Convert_ProblemSolutionViewToPOCO(ProblemSolutionView psv)
        {
            ProblemSolution ps = new ProblemSolution();

            Convert_ProblemSolutionViewToExistingPOCO(psv, ps);
            return(ps);
        }
 /// <summary>
 /// Converting problem solution view to existing database object
 /// </summary>
 /// <param name="psv">View of problem solution</param>
 /// <param name="ps">Existing poco of problem solution</param>
 /// <returns></returns>
 public void Convert_ProblemSolutionViewToExistingPOCO(ProblemSolutionView psv, ProblemSolution ps)
 {
     ps.Active            = psv.Active;
     ps.Comment           = psv.Comment;
     ps.End               = psv.EndDate.Date.AddMilliseconds(psv.EndTime.TotalMilliseconds);
     ps.ProblemId         = psv.ProblemId;
     ps.ProblemSolutionId = psv.ProblemSolutionId;
     ps.Start             = psv.StartDate.Date.AddMilliseconds(psv.StartTime.TotalMilliseconds);
     ps.Status            = psv.Status;
 }