public async System.Threading.Tasks.Task <Microsoft.AspNetCore.Mvc.IActionResult> BusinesstimePost([Microsoft.AspNetCore.Mvc.FromBody] System.DateTimeOffset?body, string policyId) { var result = await _implementation.BusinesstimePostAsync(body, policyId).ConfigureAwait(false); var status = result.StatusCode; Microsoft.AspNetCore.Mvc.ObjectResult response = new Microsoft.AspNetCore.Mvc.ObjectResult(result) { StatusCode = status }; foreach (var header in result.Headers) { Request.HttpContext.Response.Headers.Add(header.Key, new Microsoft.Extensions.Primitives.StringValues(header.Value.ToArray())); } return(response); }
public System.Threading.Tasks.Task BusinesstimePost([Microsoft.AspNetCore.Mvc.FromBody] System.DateTimeOffset?body, string policyId) { return(_implementation.BusinesstimePostAsync(body, policyId)); }