public bool InsertSocialLinks(SocialLinks objSocialLinks) { try { bl_SocialLinks _objSocialLinks = new bl_SocialLinks(); return(_objSocialLinks.InsertSocialLinks(objSocialLinks)); } catch (Exception exp) { ExceptionMessage = exp.Message; return(false); } }
public List <SocialLinks> ReadSocialLinks() { List <SocialLinks> _lstSocialLinks = new List <SocialLinks>(); try { bl_SocialLinks _objSocialLinks = new bl_SocialLinks(); _lstSocialLinks = _objSocialLinks.ReadSocialLinks(); } catch (Exception exp) { ExceptionMessage = exp.Message; } return(_lstSocialLinks); }