public async Task <HttpResponseMessage> SendMail([FromBody] string url, [FromUri] int salesId, [FromUri] string toAddress, [FromUri] int userId)
 {
     return(Request.CreateResponse(HttpStatusCode.OK, await Task.Run(() => CreditNote.SendMail(salesId, toAddress, userId, url))));
 }