clean & update project refs
This commit is contained in:
parent
fbd352e788
commit
089f500661
8 changed files with 39 additions and 7 deletions
|
|
@ -8,6 +8,7 @@ using Microsoft.AspNet.Razor;
|
|||
namespace Yavsc.ApiControllers
|
||||
{
|
||||
using Models;
|
||||
using Helpers;
|
||||
|
||||
[Route("api/pdfestimate"), Authorize]
|
||||
public class PdfEstimateController : Controller
|
||||
|
|
@ -87,5 +88,13 @@ namespace Yavsc.ApiControllers
|
|||
{
|
||||
return ViewComponent("Estimate",new object[] { id, "Pdf" } );
|
||||
}
|
||||
|
||||
[HttpPost("prosign/{id}")]
|
||||
public IActionResult ProSign(long id)
|
||||
{
|
||||
if (Request.Form.Files.Count!=1)
|
||||
return new BadRequestResult();
|
||||
return Ok (User.ReceiveProSignature(id,Request.Form.Files[0]));
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue