| | | 1 | | using System; |
| | | 2 | | using System.Linq; |
| | | 3 | | using System.Linq.Expressions; |
| | | 4 | | using System.Collections.Generic; |
| | | 5 | | using System.Text; |
| | | 6 | | using WinSolutions.Sveta.Server.Services.Interfaces; |
| | | 7 | | using WinSolutions.Sveta.Server.Data.DataModel.Entities; |
| | | 8 | | using WinSolutions.Sveta.Common; |
| | | 9 | | |
| | | 10 | | namespace WinSolutions.Sveta.Server.Services.Implements |
| | | 11 | | { |
| | | 12 | | public class SvetaServiceBase |
| | | 13 | | { |
| | | 14 | | readonly IAuthenticationService _authenticationService; |
| | | 15 | | |
| | 4717 | 16 | | public SvetaServiceBase(IAuthenticationService authenticationService) |
| | 4717 | 17 | | { |
| | 4717 | 18 | | _authenticationService = authenticationService; |
| | 4717 | 19 | | } |
| | | 20 | | |
| | 9514 | 21 | | public long CurrentUserId => _authenticationService.UserId; |
| | | 22 | | } |
| | | 23 | | } |