public ActionResult <IEnumerable <MailingViewModel> > GetList() { var res = _mailingService.GetMailings().ToList(); return(Ok(_mapper.Map <List <MailingViewModel> >(res))); }