/// <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;
 }
示例#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);
 }
 public MasterDataController(IMasterDataManager _masterDataManager)
 {
     this._masterDataManager = _masterDataManager;
 }