root/UnityWeb/UnityWeb/UnityWeb/Employees.aspx.cs
| 81 | 82 | ||
|---|---|---|---|
4 | using System.Collections.Generic; | 4 | using System.Collections.Generic; |
5 | using System.Web.UI; | 5 | using System.Web.UI; |
6 | using Domain.Business; | 6 | using Domain.Business; |
7 | using Microsoft.Practices.Unity; | ||
8 | using Modules.EmployeeManagement.View; | 7 | using Modules.EmployeeManagement.View; |
9 | using StructureMap; | 8 | using StructureMap; |
10 | using StructureMap.Attributes; | 9 | using StructureMap.Attributes; |
... | ... | ||
17 | { | 16 | { |
18 | private EmployeePresenter _presenter; | 17 | private EmployeePresenter _presenter; |
19 | 18 | ||
20 | //[SetterProperty] | 19 | [SetterProperty] |
21 | [Dependency] | ||
22 | public EmployeePresenter Presenter | 20 | public EmployeePresenter Presenter |
23 | { | 21 | { |
24 | set | 22 | set |
... | ... | ||
30 | 28 | ||
31 | protected void Page_Load(object sender, EventArgs e) | 29 | protected void Page_Load(object sender, EventArgs e) |
32 | { | 30 | { |
33 | //ObjectFactory.BuildUp(this); | 31 | ObjectFactory.BuildUp(this); |
34 | 32 | ||
35 | if (!Page.IsPostBack) | 33 | if (!Page.IsPostBack) |
36 | { | 34 | { |
Download diff