Skip to content

Commit

Permalink
Refactor GeocoderController.cs and remove unused GeocoderInfo class
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdewid committed Apr 25, 2024
1 parent 69cd155 commit 77ecee7
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/FunderMaps.WebApi/Controllers/GeocoderController.cs
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
using FunderMaps.Core.Controllers;
using FunderMaps.Core.Entities;
using FunderMaps.Core.Services;
using FunderMaps.WebApi.DataTransferObjects;
using Microsoft.AspNetCore.Mvc;

namespace FunderMaps.WebApi.Controllers;

// TODO: Move
public sealed class GeocoderInfo
{
public Building Building { get; set; } = default!;
public Address Address { get; set; } = default!;
public Neighborhood? Neighborhood { get; set; }
public District? District { get; set; }
public Municipality? Municipality { get; set; }
public State? State { get; set; }
}

/// <summary>
/// Endpoint controller for address operations.
/// </summary>
Expand Down

0 comments on commit 77ecee7

Please sign in to comment.