< Summary

Class:WinSolutions.Sveta.Server.Services.Implements.SvetaServiceBase
Assembly:WinSolutions.Sveta.Server
File(s):/opt/dev/sveta_api_build/WinSolutions.Sveta.Server/Services/Implements/SvetaServiceBase.cs
Covered lines:5
Uncovered lines:0
Coverable lines:5
Total lines:23
Line coverage:100% (5 of 5)
Covered branches:0
Total branches:0

Metrics

MethodLine coverage Branch coverage
.ctor(...)100%100%
get_CurrentUserId()100%100%

File(s)

/opt/dev/sveta_api_build/WinSolutions.Sveta.Server/Services/Implements/SvetaServiceBase.cs

#LineLine coverage
 1using System;
 2using System.Linq;
 3using System.Linq.Expressions;
 4using System.Collections.Generic;
 5using System.Text;
 6using WinSolutions.Sveta.Server.Services.Interfaces;
 7using WinSolutions.Sveta.Server.Data.DataModel.Entities;
 8using WinSolutions.Sveta.Common;
 9
 10namespace WinSolutions.Sveta.Server.Services.Implements
 11{
 12    public class SvetaServiceBase
 13    {
 14        readonly IAuthenticationService _authenticationService;
 15
 471716        public SvetaServiceBase(IAuthenticationService authenticationService)
 471717        {
 471718            _authenticationService = authenticationService;
 471719        }
 20
 951421        public long CurrentUserId => _authenticationService.UserId;
 22    }
 23}

Methods/Properties

.ctor(...)
get_CurrentUserId()