Exemplo n.º 1
0
 public static void ContactInfo(string userID, string cpNum, string homePhone, string cellPhone, string eMail, string comments)
 {
     string          SP      = "dbo.tcdsb_LTO_PageUser_ApplicantProfile @UserID, @CPNum, @HomePhone, @CellPhone, @Email, @Comments";
     ApplicantNotice anotice = new ApplicantNotice {
         UserID = userID, CPNum = cpNum, HomePhone = homePhone, CellPhone = cellPhone, Email = eMail, Comments = comments
     };
     string result = CommonExcute <ApplicantNotice> .GeneralValue(SP, anotice);
 }
Exemplo n.º 2
0
        public static List <Applicant> ContactInfo(string userID, string cpNum)
        {
            string          SP = "dbo.tcdsb_LTO_PageUser_ApplicantProfile @UserID, @CPNum";
            ApplicantNotice wt = new ApplicantNotice {
                UserID = userID, CPNum = cpNum
            };

            return(CommonExcute <Applicant> .GeneralList(SP, wt));
        }
Exemplo n.º 3
0
 public static List <ApplicantNotice> ApplicantsNoticebyID(ApplicantNotice parameter)
 {
     try
     {
         string sp = "dbo.tcdsb_LTO_PagePublish_NoticeToTeacherList @UserID, @SchoolYear,@PositionID,@Action";
         List <ApplicantNotice> noticelist = GeneralDataAccess.GetListofTypeT <ApplicantNotice>(sp, parameter);
         return(noticelist);
     }
     catch (System.Exception ex)
     {
         string em = ex.Message;
         return(null);
     }
 }