CAESDO.Recruitment.Web.Shared_ApplicationReview.DownloadFile C# (CSharp) Метод

DownloadFile() приватный Метод

Downloads the file given by FileID
private DownloadFile ( int FileID ) : bool
FileID int FileID of the File to Download
Результат bool
        private bool DownloadFile(int FileID)
        {
            File fileToDownload = FileBLL.GetNullableByID(FileID);

            if (fileToDownload == null)
            {
                return false;
            }
            else
            {
                return FileBLL.Transmit(fileToDownload.ID, fileToDownload.FileName);
            }
        }