public async Task <List <NotificationTypeVM> > FetchAllAsync() { var notificationTypes = await notificationTypeRepository.GetAllAsync(); var results = Mapper.Map <List <NotificationTypeVM> >(notificationTypes); return(results); }
public async Task <List <NotificationTypeVM> > FetchAllAsync() { var notificationTypes = await notificationTypeRepository.GetAllAsync(); var results = Mapper.Map <List <NotificationTypeVM> >(notificationTypes); return(results); }