/// <summary> /// Initialize account master controller /// </summary> /// <param name="accountMasterService"></param> /// <param name="logger"></param> public AccountMasterController(IAccountMasterService accountMasterService, ILogger <AccountMasterController> logger) { _accountMasterService = accountMasterService; _logger = logger; }
/// <summary> /// CommonController Constructor /// </summary> /// <param name=""></param> public AccountMasterController(IAccountMasterService aMService) { this._aMService = aMService; logger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); logger.Info(string.Format("{0}.{1} - START", DateTime.Now, DateTime.Now.Day)); }