public ActionResult SendOrder(OrderPokemonModel order) { var logic = new OrderLogic(); var json = Json(logic.SendOrder(order), JsonRequestBehavior.AllowGet); json.MaxJsonLength = int.MaxValue; Mail.Send(order.Email, "Заказ покемона", "Уважаемый клиент. Спасибо что заказали покемона у нас."); return(json); }