public IActionResult Delete(int id) { VendedorDAO obj = new VendedorDAO(); ViewBag.Vendedor = obj.ConsultarID(id); return(View()); }
public IActionResult Perfil() { int id = Convert.ToInt32(httpContext.HttpContext.Session.GetString("Idvendedor")); VendedorDAO obj = new VendedorDAO(); ViewBag.Vendedor = obj.ConsultarID(id); return(View()); }