public string CreateGDPRRequest([FromUri] string emailAddress, [FromUri] string type) { try { return(MasterGDPRHelper.CreateGDPRRequest(emailAddress, type)); } catch { return("Failure"); } }
public ActionResult GDPRRequestPost(string type) { MasterGDPRHelper.CreateGDPRRequest(this.User.Identity.Name, type); return(View("Index", "Home")); }