And you get NoCache, and you get NoCache, and you get NoCache

- NoCache for everybody!
This commit is contained in:
DamianEdwards 2014-11-18 17:35:38 -08:00
parent 62e84ae620
commit dbee8c1f6b
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@
using System.Threading.Tasks;
using Microsoft.AspNet.Mvc;
using MusicStore.Models;
using MusicStore.Spa.Infrastructure;
namespace MusicStore.Apis
{
@ -52,6 +53,7 @@ namespace MusicStore.Apis
}
[HttpGet("{genreId:int}/albums")]
[NoCache]
public async Task<ActionResult> GenreAlbums(int genreId)
{
var albums = await _storeContext.Albums