public async Task <IEnumerable <ModuleModel> > GetByApplicationId(Guid applicationId) { return(ObjectMapper.Mapper.Map <IEnumerable <ModuleModel> >( await _moduleRepository.GetByApplicationId(applicationId))); }