using Service;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using wgh.model;
namespace Wgh.studentSys_v2.Controllers
{
public class HomeController : Controller
{
public IService.ISysUserInfoServie service { get; set; }
public ActionResult Index()
{
var insert = service.Insert(new wgh.model.Models.SysUserInfo { Id=Guid.NewGuid().ToString(), UserName="武大郎111",PassWord="111111"});
return View();
}
public ActionResult About()
{
ViewBag.Message = "Your application description page.";
return View();
}
public ActionResult Contact()
{
ViewBag.Message = "Your contact page.";
return View();
}
}
}
标签:autofac,return,ActionResult,控制器,System,using,public,View From: https://www.cnblogs.com/wugh8726254/p/17533430.html