< Summary

Information
Class: MRA.WebApi.Controllers.ArtController
Assembly: MRA.WebApi
File(s): D:\a\MiguelRomerART\MiguelRomerART\MRA.WebApi\Controllers\ArtController.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 13
Coverable lines: 13
Total lines: 42
Line coverage: 0%
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%210%

File(s)

D:\a\MiguelRomerART\MiguelRomerART\MRA.WebApi\Controllers\ArtController.cs

#LineLine coverage
 1using Microsoft.AspNetCore.Authorization;
 2using Microsoft.AspNetCore.Mvc;
 3using MRA.DTO.ViewModels.Art;
 4using MRA.DTO.ViewModels.Art.Select;
 5using MRA.Services;
 6using MRA.WebApi.Models.Requests;
 7using MRA.WebApi.Models.Responses;
 8using MRA.Services.Models.Drawings;
 9using MRA.Services.Models.Collections;
 10using MRA.DTO.Exceptions;
 11using MRA.DTO.Models;
 12using MRA.Services.Storage;
 13
 14namespace MRA.WebApi.Controllers;
 15
 16[ApiController]
 17[Route("api/art")]
 18public class ArtController : Controller
 19{
 20
 21    private readonly IAppService _appService;
 22    private readonly IStorageService _storageService;
 23    private readonly IDrawingService _drawingService;
 24    private readonly ICollectionService _collectionService;
 25    private readonly ILogger<ArtController> _logger;
 26
 027    public ArtController(
 028        ILogger<ArtController> logger,
 029        IAppService appService,
 030        IDrawingService drawingService,
 031        IStorageService storageService,
 032        ICollectionService collectionService
 033        )
 34    {
 035        _logger = logger;
 036        _appService = appService;
 037        _drawingService = drawingService;
 038        _storageService = storageService;
 039        _collectionService = collectionService;
 040    }
 41
 42}