FormatBanner() public méthode

public FormatBanner ( int VendorId, int BannerId, int BannerTypeId, string BannerName, string ImageFile, string Description, string URL, int Width, int Height, string BannerSource, string HomeDirectory ) : string
VendorId int
BannerId int
BannerTypeId int
BannerName string
ImageFile string
Description string
URL string
Width int
Height int
BannerSource string
HomeDirectory string
Résultat string
 public string FormatItem(int VendorId, int BannerId, int BannerTypeId, string BannerName, string ImageFile, string Description, string URL, int Width, int Height)
 {
     var objBanners = new BannerController();
     return objBanners.FormatBanner(VendorId,
                                    BannerId,
                                    BannerTypeId,
                                    BannerName,
                                    ImageFile,
                                    Description,
                                    URL,
                                    Width,
                                    Height,
                                    Convert.ToString(Settings["bannersource"]),
                                    PortalSettings.HomeDirectory,
                                    Convert.ToString(Settings["bannerclickthroughurl"]));
 }
 public string FormatItem(int VendorId, int BannerId, int BannerTypeId, string BannerName, string ImageFile, string Description, string URL, int Width, int Height)
 {
     var objBanners = new BannerController();
     return objBanners.FormatBanner(VendorId, BannerId, BannerTypeId, BannerName, ImageFile, Description, URL, Width, Height, PortalId == -1 ? "G" : "L", PortalSettings.HomeDirectory);
 }