Is there any better or optimize way to return the view with model in controller, reshape model, view, controller etc?
问题 I don't need any cosmetic work to do, Is there any better way to do this, I have some doubts while returning the View from controller to View with model.... I hope it will be in better way but I am not able to do this, Please guide me. This is the view. @model MVCwithWebAPI.Models.RootObject @{ ViewBag.Title = "Index"; Layout = "~/Views/Shared/_Layout.cshtml"; } <table> <tr> <td> <strong> <br /> @Model.cod </strong> </td> <td> <strong> <br /> @Model.wind.speed </strong> </td> <td> <strong>