public async Task <ResultListDto> GetAllAttachmentTypesAsync(int categoryID)
        {
            var fileList = await _uploadService.GetAttachmentTypesAsync(categoryID);

            var fileDtoDtoList = _mapper.Map <IEnumerable <KeyValueDto> >(fileList.Results);


            ResultListDto finalResult = new ResultListDto()
            {
                MaxPageRows = fileList.MaxPageRows,
                TotalRows   = fileList.TotalRows,
                Results     = fileDtoDtoList,
            };

            return(finalResult);
        }