Пример #1
0
 public ActionResult AddContact(CreateContactRequest model)
 {
     model.UserId  = SynergySecurity.GetCurrentUser();
     model.Api     = ApiTypes.AgileCrm;
     model.Request = "Create New Contact";
     contactApi.AddContact(model);
     return(RedirectToAction("Contacts"));
 }