public static int Delete(SocialNetworking SocialNetworking)
        {
            dSocialNetworking _dSocialNetworking = new dSocialNetworking();

            if (Convert.ToBoolean(ConfigurationSettings.AppSettings["IsEmailEnable"]))
            {
                string mailBody = MailHelper.ActivityMail("Social Networking", "Social Networking Deletion done on " +
                                                          "( " + SocialNetworking.Scl_Ntk_Id + "  and " + SocialNetworking.Scl_Ntk_Code + " ) successfully.",
                                                          SocialNetworking.Administrators_Id, DateTime.Now.ToString());

                MailHelper.SendEmail(MailHelper.EmailToSend(), "Social Networking Deletion", mailBody, "Rachna Teracotta : Activity Admin");
            }
            return(_dSocialNetworking.Delete(SocialNetworking));
        }
        public static List <SocialNetworking> List()
        {
            dSocialNetworking _dSocialNetworking = new dSocialNetworking();

            return(_dSocialNetworking.List());
        }