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