Commit 3ac186d6 authored by adnansetiawan's avatar adnansetiawan
Browse files

clean unnecessary using

parent c192e7b9
Pipeline #24262 passed with stages
in 6 minutes and 48 seconds
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Net.Http;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;
using EasyParking.API.Dtos;
using EasyParking.API.Dtos.Request;
using EasyParking.API.Dtos.Response;
using EasyParking.API.Mapper;
using EasyParking.Core;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Microsoft.IdentityModel.Tokens;
namespace EasyParking.API.Controllers
{
......
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using EasyParking.API.Dtos;
using EasyParking.API.Dtos.Request;
using EasyParking.API.Mapper;
using EasyParking.Core;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace EasyParking.API.Controllers
{
//
[ApiController]
[Route("api/location")]
[Produces("application/json")]
......
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using EasyParking.API.Dtos;
using EasyParking.API.Dtos.Request;
using EasyParking.API.Mapper;
using EasyParking.Core;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace EasyParking.API.Controllers
{
......
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using EasyParking.API.Dtos;
using EasyParking.API.Dtos.Request;
using EasyParking.API.Mapper;
using EasyParking.Core;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace EasyParking.API.Controllers
{
/// <summary>
/// zona api
/// </summary>
[ApiController]
[Route("api/zona")]
[Produces("application/json")]
......@@ -21,6 +20,12 @@ namespace EasyParking.API.Controllers
private readonly ZonaService _zonaService;
private readonly LocationService _locationService;
private readonly RateService _rateService;
/// <summary>
/// constructor
/// </summary>
/// <param name="zonaRepository"></param>
/// <param name="locationRepository"></param>
/// <param name="rateRepository"></param>
public ZonaController(IZonaRepository zonaRepository, ILocationRepository locationRepository, IRateRepository rateRepository)
{
_zonaService = new ZonaService(zonaRepository);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment