public class ValuesController : ApiController { EIPEntities1 reterive = new EIPEntities1(); // GET api/values public IEnumerable<eipentities1> Get() { //return new string[] { "value1", "value2" }; return reterive; } // GET api/values/5 public string Get(int id) { return "Value"; } // POST api/values public void Post([FromBody]string value) { } // PUT api/values/5 public void Put(int id, [FromBody]string value) { } // DELETE api/values/5 public void Delete(int id) { } }
<table style="margin-removed 25%; margin-removed 10px; border: 2px solid LightGray;"> <tr> <th>Currency_Code</th> <th>Description</th> @* <th>Appointment</th> <th>Technology</th> <th>Task</th>*@ </tr> @foreach (var item in Model.Currencies) { <tr> <td>@item.Currency_Code</td> <td>@item.Description</td> </tr> } </table>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)