Added indexes to Series table for searching. Removed byte[] from SearchResultDTO. Added response caching for all APIs. Responses are cached for 10 seconds.

This commit is contained in:
Joseph Milazzo 2021-03-12 18:21:13 -06:00
parent 24118da49c
commit 1f24725905
10 changed files with 792 additions and 18 deletions

View file

@ -1,9 +1,11 @@
using System;
using System.Collections.Generic;
using API.Entities.Interfaces;
using Microsoft.EntityFrameworkCore;
namespace API.Entities
{
[Index(nameof(Name), nameof(NormalizedName), nameof(LocalizedName), IsUnique = true)]
public class Series : IEntityDate
{
public int Id { get; set; }