Skip to content

Commit

Permalink
Fix controller method names
Browse files Browse the repository at this point in the history
  • Loading branch information
warappa committed Jun 14, 2023
1 parent d2c6b68 commit 914f4a1
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void ViaFile(IFormFile file)
}

[HttpPost("via-text")]
public void OrderViaFile([FromForm(Name = "content")] string content)
public void ViaText([FromForm(Name = "content")] string content)
{
var serializer = serializerFactory.Create<BMEcatDocument>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void DispatchNotificationViaFile(IFormFile file)
}

[HttpPost("via-text")]
public void OrderViaFile([FromForm(Name = "content")] string content)
public void DispatchNotificationViaText([FromForm(Name = "content")] string content)
{
var serializer = serializerFactory.Create<DispatchNotification>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void InvoiceListViaFile(IFormFile file)
}

[HttpPost("via-text")]
public void OrderViaFile([FromForm(Name = "content")] string content)
public void InvoiceListViaText([FromForm(Name = "content")] string content)
{
var serializer = serializerFactory.Create<InvoiceList>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void InvoiceViaFile(IFormFile file)
}

[HttpPost("via-text")]
public void OrderViaFile([FromForm(Name = "content")] string content)
public void InvoiceViaText([FromForm(Name = "content")] string content)
{
var serializer = serializerFactory.Create<Invoice>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void OrderChangeViaFile(IFormFile file)
}

[HttpPost("via-text")]
public void OrderViaFile([FromForm(Name = "content")] string content)
public void OrderChangeViaText([FromForm(Name = "content")] string content)
{
var serializer = serializerFactory.Create<OrderChange>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void OrderResponseViaFile(IFormFile file)
}

[HttpPost("via-text")]
public void OrderViaFile([FromForm(Name = "content")] string content)
public void OrderResponseViaText([FromForm(Name = "content")] string content)
{
var serializer = serializerFactory.Create<OrderResponse>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void OrderViaFile(IFormFile file)
}

[HttpPost("via-text")]
public void OrderViaFile([FromForm(Name = "content")] string content)
public void OrderViaText([FromForm(Name = "content")] string content)
{
var serializer = serializerFactory.Create<Order>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void QuotationViaFile(IFormFile file)
}

[HttpPost("via-text")]
public void OrderViaFile([FromForm(Name = "content")] string content)
public void QuotationViaText([FromForm(Name = "content")] string content)
{
var serializer = serializerFactory.Create<Quotation>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void ReceiptAcknowledgementViaFile(IFormFile file)
}

[HttpPost("via-text")]
public void OrderViaFile([FromForm(Name = "content")] string content)
public void ReceiptAcknowledgementViaText([FromForm(Name = "content")] string content)
{
var serializer = serializerFactory.Create<ReceiptAcknowledgement>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void RemittanceAdviceViaFile(IFormFile file)
}

[HttpPost("via-text")]
public void OrderViaFile([FromForm(Name = "content")] string content)
public void RemittanceAdviceViaText([FromForm(Name = "content")] string content)
{
var serializer = serializerFactory.Create<RemittanceAdvice>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void RequestForQuotationViaFile(IFormFile file)
}

[HttpPost("via-text")]
public void OrderViaFile([FromForm(Name = "content")] string content)
public void RequestForQuotationViaText([FromForm(Name = "content")] string content)
{
var serializer = serializerFactory.Create<RequestForQuotation>();

Expand Down

0 comments on commit 914f4a1

Please sign in to comment.