using System; using System.Collections.Generic; using System.Linq; using System.Web; using DAL; using BLL; using System.Data; namespace BLL { public class ThenThisaiHandler { ThenThisaiDBAccess thenthisaidbacess=null; public ThenThisaiHandler() { thenthisaidbacess = new ThenThisaiDBAccess(); } //Registered User public Guid AddNewRegisteredUser(ThenThisaiClass thenthisai) { return thenthisaidbacess.AddNewRegisteredUser(thenthisai); } public bool DeleteRegisteredUser(ThenThisaiClass thenthisai) { return thenthisaidbacess.DeleteRegisteredUser(thenthisai); } public bool UpdateRegisteredUser(ThenThisaiClass thenthisai) { return thenthisaidbacess.UpdateRegisteredUser(thenthisai); } public ThenThisaiClass GetRegisteredUserDetails(Guid RegisteredUserID) { return thenthisaidbacess.GetRegisteredUserDetails(RegisteredUserID); } public List GetRegisteredUserList() { return thenthisaidbacess.GetRegisteredUserList(); } //UnRegistered User public Guid AddnewUnregisteredUser(ThenThisaiClass thenthisai) { return thenthisaidbacess.AddnewUnregisteredUser(thenthisai); } public bool DeleteUnregisteredUser(ThenThisaiClass thenthisai) { return thenthisaidbacess.DeleteUnregisteredUser(thenthisai); } public bool UpdateUnregisteredUser(ThenThisaiClass thenthisai) { return thenthisaidbacess.UpdateUnregisteredUser(thenthisai); } public ThenThisaiClass GetUnregisteredUserDetails(Guid UnregisteredUserID) { return thenthisaidbacess.GetUnregisteredUserDetails(UnregisteredUserID); } public List GetUnregisteredUserList() { return thenthisaidbacess.GetUnregisteredUserList(); } //Comment public bool AddNewComment(ThenThisaiClass thenthisai) { return thenthisaidbacess.AddNewComment(thenthisai); } public bool DeleteComment(ThenThisaiClass thenthisai) { return thenthisaidbacess.DeleteComment(thenthisai); } public bool UpdateComment(ThenThisaiClass thenthisai) { return thenthisaidbacess.UpdateComment(thenthisai); } public ThenThisaiClass GetCommentDetails(Guid CommentID) { return thenthisaidbacess.GetCommentDetails(CommentID); } public List GetCommentList(string URL) { return thenthisaidbacess.GetCommentList(URL); } public DataTable getCommentData(string URL) { return thenthisaidbacess.getCommentData(URL); } //Reply public bool AddNewReply(ThenThisaiClass thenthisai) { return thenthisaidbacess.AddNewReply(thenthisai); } public bool DeleteReply(ThenThisaiClass thenthisai) { return thenthisaidbacess.DeleteReply(thenthisai); } public bool UpdateReply(ThenThisaiClass thenthisai) { return thenthisaidbacess.UpdateReply(thenthisai); } public ThenThisaiClass GetReplyDetails(Guid ReplyID) { return thenthisaidbacess.GetReplyDetails(ReplyID); } public List GetReplyList(Guid CommentID) { return thenthisaidbacess.GetReplyList(CommentID); } //TimeSheet public bool AddTimeSheet(ThenThisaiClass thenthisai) { return thenthisaidbacess.AddTimeSheet(thenthisai); } //Login public DataTable getLogin(string MailID, string Password) { return thenthisaidbacess.getLogin(MailID, Password); } public DataTable getGuestLogin(string MailId) { return thenthisaidbacess.getGuestLogin(MailId); } //Check Registered Mail public DataTable getMailID(string MailId) { return thenthisaidbacess.getMailID(MailId); } //Dynamic Update public DataTable getThought() { return thenthisaidbacess.getThought(); } public DataTable getNews() { return thenthisaidbacess.getNews(); } public DataTable getQuestions() { return thenthisaidbacess.getQuestions(); } public DataTable getQuestionOpt(Guid VotingID) { return thenthisaidbacess.getQuestionOpt(VotingID); } //Votting public bool AddNewVotting(ThenThisaiClass thenthisai) { return thenthisaidbacess.AddNewVotting(thenthisai); } public bool DeleteVotting(Guid VottingID) { return thenthisaidbacess.DeleteVotting(VottingID); } public bool UpdateVotting(ThenThisaiClass thenthisai) { return thenthisaidbacess.UpdateVotting(thenthisai); } public ThenThisaiClass GetVottingDetails(Guid ReplyID) { return thenthisaidbacess.GetVottingDetails(ReplyID); } public List GetVottingList() { return thenthisaidbacess.GetVottingList(); } //Votting TimeSheet public bool InsertNewVoteSheet(ThenThisaiClass thenthisai) { return thenthisaidbacess.InsertNewVoteSheet(thenthisai); } public DataTable getVotter(Guid UserID) { return thenthisaidbacess.getVotter(UserID); } } }