< Summary

Class:SVETA.Api.Data.DTO.IdNameDTO
Assembly:SVETA.Api
File(s):/opt/dev/sveta_api_build/SVETA.Api/Data/DTO/IdNameDTO.cs
Covered lines:8
Uncovered lines:2
Coverable lines:10
Total lines:25
Line coverage:80% (8 of 10)
Covered branches:0
Total branches:0

Metrics

MethodLine coverage Branch coverage
.ctor()100%100%
.ctor(...)100%100%
get_Id()0%100%
get_Name()0%100%

File(s)

/opt/dev/sveta_api_build/SVETA.Api/Data/DTO/IdNameDTO.cs

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.Linq;
 4using System.Threading.Tasks;
 5
 6namespace SVETA.Api.Data.DTO
 7{
 8    public class IdNameDTO
 9    {
 27910        public IdNameDTO()
 27911        {
 12
 27913        }
 14
 315        public IdNameDTO(long? id, string name)
 316        {
 317            Id = id;
 318            Name = name;
 319        }
 20
 021        public long? Id { get; set; }
 22
 023        public string Name { get; set; }
 24    }
 25}

Methods/Properties

.ctor()
.ctor(...)
get_Id()
get_Name()