using System.Web.Mvc;
using System.Web.Helpers;

namespace LHDN.CRM.Web.Controllers
{
    public class BaseController : Controller
    {
        public virtual void AddAntiforgeryToken()
        {
            string cookieToken, formToken;
            AntiForgery.GetTokens(null, out cookieToken, out formToken);
            ViewBag.CookieToken = cookieToken;
            ViewBag.FormToken = formToken;
        }
    }
}