public List<Notification> GetHomepageNotifications(int pageSize, ILogger logger) { var query = new AllHomepageNotifications(logger); return query.Execute(pageSize.ToString()); }
public void GetNotifications1() { AutoMapper.Mapper.CreateMap<Pb.Dal.Notification, PB.Domain.Notification>().ReverseMap(); var query = new AllHomepageNotifications(); var data = query.Execute(); }