public string Qrcode([FromBody] ProductImage image, [FromServices] IHostingEnvironment hosting) { try { var name = image.SaveQrcode(hosting); return(name); } catch (Exception e) { UtilHelper.Log(e.ToString()); throw; } }
public string Qrcode([FromBody] ProductImage image, [FromServices] IHostingEnvironment hosting) { try { var name = image.SaveQrcode(hosting); return(name); } catch (Exception e) { UtilHelper.Log(e.ToString()); throw; } }