Created
December 10, 2020 21:52
-
-
Save bjornmicallef/eeaacadabd06d172ed69e9577db48ff3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ApiController] | |
[Route("[controller]")] | |
public class SettingsController : ControllerBase | |
{ | |
private readonly IUserSettingsService _userSettingsService; | |
public SettingsController(IUserSettingsService userSettingsService) | |
{ | |
_userSettingsService = userSettingsService; | |
} | |
[HttpGet] | |
public ObjectResult GetSellers() | |
{ | |
return Ok(_userSettingsService.GetSellers().Result); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment