Ejemplo n.º 1
0
        public async Task <IList <ChecklistElementModel> > GetAllChecklistElementsByCategoryIdAsync(int categoryId)
        {
            try
            {
                var items = await _repository.GetAllChecklistElementsByCategoryIdAsync(categoryId);

                return(items);
            }
            catch (OzoneException ex)
            {
                throw new OzoneException(ex.Message, ex.InnerException);
            }
        }