public void Add(string name, string contact, string company, string position, string currentCtc, string expectedCtc, string notice) { var candidate = new Domain.Model.Candidate { Company = company, Contact = contact, CurrentCtc = currentCtc, ExpectedCtc = expectedCtc, Name = name, NoticePeriod = notice, Position = position }; CurrentSession.Store(candidate); }