public ActionResult ConfirmBid(Candidate candidate, string message) { var form = new CandidateForm {Candidate = candidate, Message = message}; return View(form); }
/// <summary> /// Сохранить заявку. /// </summary> /// <param name="candidate">Кандидат.</param> public void SaveBid(Candidate candidate) { candidate.Role = DefaultCandidateRole; Get<ICandidateRepository>().Save(candidate); Logger.Info(String.Format("Добавлена заявка на регистрацию - {0}.", candidate.Login)); }