add HttpPost attribute to Create action in ContactUsController
This commit is contained in:
@@ -13,7 +13,7 @@ public class ContactUsController:GeneralBaseController
|
||||
{
|
||||
_contactUsApplication = contactUsApplication;
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
public ActionResult<OperationResult> Create([FromBody]CreateContactUs command)
|
||||
{
|
||||
var res =_contactUsApplication.Create(command);
|
||||
|
||||
Reference in New Issue
Block a user