/// <summary> /// /// </summary> public LogRequestAndResponseHandler() { IGenericUoW _UoW = new GenericUoW(); ILoggerSrvc loggerServiceParam = new LoggerSrvc(_UoW); this._loggerSrvc = loggerServiceParam; }
public ApplicationOAuthProvider(string publicClientId) { if (publicClientId == null) { throw new ArgumentNullException("publicClientId"); } _publicClientId = publicClientId; IGenericUoW _UoW = new GenericUoW(); IUserSrvc userServiceParam = new UserSrvc(_UoW); this._userService = userServiceParam; }
/// <summary> /// Registering all the types /// </summary> /// <returns></returns> private static IUnityContainer BuildUnityContainer() { var container = new UnityContainer(); DbContext entities = new TeijonStuffEntities(); container.RegisterInstance(entities); GenericUoW GUoW = new GenericUoW(entities); container.RegisterInstance(GUoW); MvcUnityContainer.Container = container; return(container); }
public ApplicationApiController(GenericUoW <JobApplication> applicationUoW, GenericUoW <Position> positionUoW) { this.applicationUoW = applicationUoW; this.positionUoW = positionUoW; }
public PeopleController(GenericUoW UoW2) { this.UoW2 = UoW2; }
public PositionController(GenericUoW <Position> positionUoW) { this.positionUoW = positionUoW; }