using Microsoft.AspNetCore.Mvc;

namespace Website.Controllers
{
  public abstract class BaseController : Controller
  {
    public const string FlashMessageKey = "FlashMessage";

    protected void Success(string message)
    {
      TempData[FlashMessageKey] = message;
    }
  }
}