using _0_Framework.Application; using CompanyManagment.App.Contracts.ContactUs; using Microsoft.AspNetCore.Mvc; using ServiceHost.BaseControllers; namespace ServiceHost.Controllers; public class ContactUsController:GeneralBaseController { private readonly IContactUsApplication _contactUsApplication; public ContactUsController(IContactUsApplication contactUsApplication) { _contactUsApplication = contactUsApplication; } public ActionResult Create([FromBody]CreateContactUs command) { var res =_contactUsApplication.Create(command); return res; } }