예제 #1
0
        public ServiceBase(IUserContextService userContextService,
                           IStringLocalizer <Errors> localizer)
        {
            _localizer         = localizer;
            UserContextService = userContextService;
            var userInfo = UserContextService.GetUserInfo();

            if (userInfo != null)
            {
                UserId = userInfo.Id;
            }
        }