Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LoginController" /> class.
 /// </summary>
 /// <param name="authenticService">The authentic service.</param>
 /// <param name="masterDataManager">The master data manager.</param>
 /// <param name="localDateTimeManager">The local date time manager.</param>
 /// <param name="authorizationManager">The authorization manager.</param>
 public LoginController(IAuthenticateManager authenticService, IMasterDataManager masterDataManager, ILocalDateTimeManager localDateTimeManager, IAuthorizationManager authorizationManager)
 {
     this.authenticationManager = authenticService;
     this.masterDataManager = masterDataManager;
     this.localDateTimeManager = localDateTimeManager;
     this.authorizationManager = authorizationManager;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MasterDataController"/> class.
 /// </summary>
 /// <param name="masterDataManager">The master data manager.</param>
 public MasterDataController(IMasterDataManager masterDataManager)
 {
     this.masterDataManager = masterDataManager;
 }
Exemplo n.º 3
0
 public MasterController(IMasterDataManager masterManager)
 {
     _masterManager = masterManager;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MasterDataManagerTests"/> class.
 /// </summary>
 public MasterDataManagerTests()
 {
     this.masterData = new Mock<IMasterDataRepository>();
     this.masterDataManager = new MasterDataManager(this.masterData.Object);
 }
Exemplo n.º 5
0
 public MasterDataController(IMasterDataManager _masterDataManager)
 {
     this._masterDataManager = _masterDataManager;
 }