Browse Source

Merge branch 'marketingcampaign' of https://github.com/dotnet-architecture/eShopOnContainers into marketingcampaign

# Conflicts:
#	src/Services/Marketing/Marketing.API/Controllers/CampaignsController.cs
pull/223/head
Christian Arenas 7 years ago
parent
commit
1e3fd13362
2 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/Services/Marketing/Marketing.API/Controllers/CampaignsController.cs
  2. +0
    -0
      src/Services/Marketing/Marketing.API/Model/Campaign.cs

+ 1
- 2
src/Services/Marketing/Marketing.API/Controllers/CampaignsController.cs View File

@ -9,7 +9,7 @@
using System.Collections.Generic; using System.Collections.Generic;
[Route("api/v1/[controller]")] [Route("api/v1/[controller]")]
//[Authorize]
[Authorize]
public class CampaignsController : Controller public class CampaignsController : Controller
{ {
private readonly MarketingContext _context; private readonly MarketingContext _context;
@ -19,7 +19,6 @@
_context = context; _context = context;
} }
[HttpGet] [HttpGet]
public async Task<IActionResult> GetAllCampaigns() public async Task<IActionResult> GetAllCampaigns()
{ {


src/Services/Marketing/Marketing.API/Model/Campaing.cs → src/Services/Marketing/Marketing.API/Model/Campaign.cs View File


Loading…
Cancel
Save