public void Add(string recruiterId, string recruiterName, DateTime?dateSent, string positionId, string positionName, string clientId, string clientName, string statusId, string statusName, DateTime?expectedFeedbackDate, string comments, string candidateId, string candidateName, string windowsLogin)
        {
            var productivity = new Domain.Model.FlatProductivity
            {
                ExpectedFeedbackDate = expectedFeedbackDate,
                DateSent             = dateSent,
                Comments             = new List <Domain.Model.Comment> {
                    new Domain.Model.Comment {
                        Description = comments, EnteredBy = windowsLogin
                    }
                },
                Candidate = new Domain.Model.DenormalizedReference {
                    Id = candidateId, Name = candidateName
                },
                Client = new Domain.Model.DenormalizedReference {
                    Id = clientId, Name = clientName
                },
                Recruiter = new Domain.Model.DenormalizedReference {
                    Id = recruiterId, Name = recruiterName
                },
                Position = new Domain.Model.DenormalizedReference {
                    Id = positionId, Name = positionName
                },
                Status = new Domain.Model.DenormalizedReference {
                    Id = statusId, Name = statusName
                },
                Month = dateSent.Value.ToString("MMM-yy"),
                Week  = ObjectMapper.GetWeekOfMonth(dateSent)
            };

            CurrentSession.Store(productivity);
        }
        public void Add(string recruiterId, string recruiterName, DateTime? dateSent, string positionId, string positionName, string clientId, string clientName, string statusId, string statusName, DateTime? expectedFeedbackDate, string comments, string candidateId, string candidateName, string windowsLogin)
        {
            var productivity = new Domain.Model.FlatProductivity
                                   {
                                       ExpectedFeedbackDate = expectedFeedbackDate,
                                       DateSent = dateSent,
                                       Comments = new List<Domain.Model.Comment> { new Domain.Model.Comment { Description = comments, EnteredBy = windowsLogin } },
                                       Candidate = new Domain.Model.DenormalizedReference { Id = candidateId, Name = candidateName },
                                       Client = new Domain.Model.DenormalizedReference { Id = clientId, Name = clientName },
                                       Recruiter = new Domain.Model.DenormalizedReference { Id = recruiterId, Name = recruiterName },
                                       Position = new Domain.Model.DenormalizedReference { Id = positionId, Name = positionName },
                                       Status = new Domain.Model.DenormalizedReference { Id = statusId, Name = statusName },
                                       Month = dateSent.Value.ToString("MMM-yy"),
                                       Week = ObjectMapper.GetWeekOfMonth(dateSent)
                                   };

            CurrentSession.Store(productivity);
        }