Generation

generate functionSun, 07 May 2023

desarrollar una Web App en ASP.NET que permita el ingreso de una temperatura en Fahrenheit y convertirla a Celsius

using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Data.Entity; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; using Prueba.Models; namespace Prueba.Controllers { public class TempreaturasController : Controller { private ApplicationDbContext db = new ApplicationDbContext(); // GET: Tempreaturas public ActionResult Index() { return View(db.Tempreaturas.ToList()); } // GET: Tempreaturas/Details/5 public ActionResult Details(int? id) { if (id == null) { return new HttpStatusCodeResult(HttpStatusCode.BadRequest); } Tempreatura tempreatura = db.Tempreaturas.Find(id); if (tempreatura == null) { return HttpNotFound(); } return View(temp

Want to kickstart your project?Use the new AI Studio to create your code