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);
            }
        }