public JsonResult New(Feedback model)
 {
     if (ModelState.IsValid)
     {
         model.IPAddress = Request.UserHostAddress;
         if (IsAuth)
         {
             var curr = CurrentUser;
             model.UserId = curr.UserId;
             model.UserName = curr.FullName;
         }
         _db.Feedbacks.Add(model);
         _db.SaveChanges();
     }
     return GetErrorMsgJSON();
 }
 public ActionResult Index(Feedback model)
 {
     if (ModelState.IsValid)
     {
         model.IPAddress = Request.UserHostAddress;
         if (IsAuth)
         {
             var curr = CurrentUser;
             model.UserId = curr.UserId;
             model.UserName = curr.FullName;
         }
         _db.Feedbacks.Add(model);
         _db.SaveChanges();
         TempData[Constants.ViewBagMessageKey] = "Thank you for your interest in advertising in NITCAA. Your request has been send to NITCAA.";
         return SafeRedirect();
     }
     FillAuthKeys();
     return View(model);
 }