// Promotional Void Details public ISingleResult <PromotionalClassVoidDetails> BGetPromoVoidDetails(int voidtype, int NoofRecords) { try { return(context.GetPromoVoidDetails(voidtype, NoofRecords)); } catch (Exception ex) { LogManager.WriteLog("BGetPromoVoidDetails : " + ex.Message, LogManager.enumLogLevel.Error); return(null); } }