public ActionResult <MailingListDTO> UpdateMailingList([FromBody] MailingList mailingList) { return(Ok(MailingListDTO.Of(_mailingListService.UpdateMailingList(mailingList)))); }
public ActionResult <MailingListDTO> DeleteCompany(int id) { return(Ok(MailingListDTO.Of(_mailingListService.DeleteMailingList(id)))); }
public ActionResult <MailingListDTO> GetMailingList(int id) { return(Ok(MailingListDTO.Of(_mailingListService.GetMailingList(id)))); }