public string GetAttachmentByDataType(string dataType) { var response = _attachmentRepository.GetAttachmentByDataType(dataType, _dbName); return(JsonConvert.SerializeObject(response)); }