public IActionResult GetAuthCode() { //AuthCodeEnum id //Enum.IsDefined(typeof(AuthCodeEnum), id); //var key = id; return(File(CoreContextProvider.NewVerifyCode(ConstParameters.VerifyCodeKeyName), @"image/Gif")); }
public IActionResult GetAuthCode() { return(File(CoreContextProvider.NewVerifyCode(), @"image/Gif")); }