< Summary

Information
Class: FAU.Logica.Services.MotivoBajaService
Assembly: FAU.Logica
File(s): /home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Logica/Services/MotivoBajaService.cs
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 14
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%
GetAllVigentesAsync()100%11100%
GetByIdAsync(...)100%11100%

File(s)

/home/runner/work/Sistema.Liquidacion.BE/Sistema.Liquidacion.BE/FAU.Logica/Services/MotivoBajaService.cs

#LineLine coverage
 1using FAU.DataAccess.Repositories;
 2using FAU.Entidades;
 3
 4namespace FAU.Logica.Services;
 5
 6public class MotivoBajaService : IMotivoBajaService
 7{
 8    private readonly IMotivoBajaRepository _repo;
 9
 810    public MotivoBajaService(IMotivoBajaRepository repo) => _repo = repo;
 11
 212    public Task<IEnumerable<MotivoBaja>> GetAllVigentesAsync() => _repo.GetAllVigentesAsync();
 213    public Task<MotivoBaja?> GetByIdAsync(long id) => _repo.GetByIdAsync(id);
 14}