public smPost SaveLinkedInPost(smSocialMediaProfile data, string image, int userId, string title, string url, string message, string post, int?postType, DateTime?scheduledDate, int ImpersonateUserId, string heading, string PostMethod)
 {
     return(_postService.SaveLinkedInPost(data, image, userId, title, url, message, post, postType, scheduledDate, ImpersonateUserId, heading, PostMethod));
 }
 public smPost SaveTwitterPost(smSocialMediaProfile data, string image, string link, string Title, int userId, string message, string post, int?postType, DateTime?scheduleDate, int ImpersonateUserId, string PostMethod)
 {
     return(_postService.SaveTwitterPost(data, image, link, Title, userId, message, post, postType, scheduleDate, ImpersonateUserId, PostMethod));
 }
 public smPost SavePostDetails(smSocialMediaProfile data, string image, int userId, string description, string post, int?postType, DateTime?scheduleDate, int ImpersonateUserId, string tilte, string heading, string link, string PostMethod)
 {
     return(_postService.SavePostDetails(data, image, userId, description, post, postType, scheduleDate, ImpersonateUserId, tilte, heading, link, PostMethod));
 }
예제 #4
0
        public string CreateUser(smSocialMediaProfile profile)
        {
            string response = _homeRepository.CreateUser(profile);

            return(response);
        }
예제 #5
0
 public smPost AutoSavePublishingPostDetails(List <string> SelectedPreferences, string SocialMedia, string GroupId, smSocialMediaProfile profile, string ImageArray, string TextMessage, DateTime timenew, int userId, int ImpersonateUserId, DateTime localtime)
 {
     return(_postRepository.AutoSavePublishingPostDetails(SelectedPreferences, SocialMedia, GroupId, profile, ImageArray, TextMessage, timenew, userId, ImpersonateUserId, localtime));
 }
        public smSocialMediaProfile GetSocialMediaAccnt(int UserId, string socialmedia)
        {
            smSocialMediaProfile data = Context.Set <smSocialMediaProfile>().Where(x => x.UserId == UserId && x.IsDeleted == false && x.SocialMedia.ToLower() == socialmedia.ToLower()).FirstOrDefault();

            return(data);
        }
        public string Create(smSocialMediaProfile profile)
        {
            string response = _homeService.CreateUser(profile);

            return(response);
        }