I have a .Net Core 3.1 web application API
and every night I need to run a schedule
how can I launch a function like this one from the command line ?
// POST: api/Partners/export
[HttpPost]
[Route("export")]
public async Task<ActionResult> ExportLeads(SinglePost singlePost)
{
...
with dotnet run ? I cannot find any info about this, I don't even know if it is possible
thanks