public string Post([FromUri] string value) { try { SqlHelper sql = new SqlHelper(); sql.AddGuidInputParam("@Guid", new Guid(value)); sql.ExecuteNonQuery("spActivateEmail", ConfigurationManager.ConnectionStrings["eMIS_Reporting"].ToString()); return("Success"); } catch (Exception ex) { Logger.error(ex.Message, 0); } return("Error"); }