protected int ImagesID(string filename) { int ImID = 0; images = new ImagesBLL(); if (string.IsNullOrWhiteSpace(filename)) { ImID = 0; } else { ImID = images.ImagesID(filename); } return(ImID); }