public AdminController(ILSContext context) { this.context = context; contact = new List<UserModel> { new UserModel("Name", true, "Mail"), new UserModel("Name2", true, "Mail2"), new UserModel("Name3", false, "Mail3") }; }
public void Init(HttpApplication context) { context.BeginRequest += (s, e) => { this.context = MvcApplication.Container.Resolve<ILSContext>(); }; context.EndRequest += (s, e) => { this.context.SaveChanges(); }; }
public AccountController(ILSContext context) { this.context = context; }
public RenderController(ILSContext context) { this.context = context; }
public OpenIDController(ILSContext context) { this.context = context; }
public ActionResult Index(ILSContext context) { return View(); }
public WorkflowController(ILSContext context) { this.context = context; }
public StructController(ILSContext context) { this.context = context; this.context_obj = ((System.Data.Entity.Infrastructure.IObjectContextAdapter)context).ObjectContext; }