add HttpPost attribute to Create action in ContactUsController

This commit is contained in:
2025-11-22 15:43:19 +03:30
parent 36f104f316
commit ea3baf14e8

View File

@@ -13,7 +13,7 @@ public class ContactUsController:GeneralBaseController
{
_contactUsApplication = contactUsApplication;
}
[HttpPost]
public ActionResult<OperationResult> Create([FromBody]CreateContactUs command)
{
var res =_contactUsApplication.Create(command);