Пример #1
0
 public IHttpActionResult UpdateMinimumInfo([FromBody] MinimumSurveyInfo minimumSurveyInfo)
 {
     //second half of RouterEmailPush.
     //if all info not present then it gets sent in.
     //then set up for surveys
     try
     {
         var _manager = new RouterManager();
         _manager.UpdateMinimumSurveyInfo(minimumSurveyInfo);
         RouterContact user = _manager.RouterContactFullSetup(minimumSurveyInfo.EmailAddress);
         return(Ok(user.UniqueId));
     }
     catch (Exception e)
     {
         return(Ok(e.Message));
     }
 }