Update 20241118

This commit is contained in:
Stefan Hutter
2024-11-18 15:21:58 +01:00
parent 69de21ca51
commit 194a97416c
120 changed files with 635 additions and 61 deletions

View File

@@ -0,0 +1,25 @@
using API_NetFramework.Controllers;
using API_NetFramework.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace OnDocAPI_NetFramework.Controllers
{
public class MailController : ApiController
{
[HttpGet]
[Route("API/SendMail")]
public IHttpActionResult SendMail(string empfaenger, string betreff, string message, string dokumentid, string ondoclink)
{
APILogging.Log((HttpRequestMessage)Request, "Mailversand: " + empfaenger+""+betreff, LogLevelType.Debug);
return Content(HttpStatusCode.OK, empfaenger + ": Mail versandt");
}
}
}