Esempio n. 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         int infoId = int.Parse(Context.Request.QueryString["infoId"].ToString());
         InfoManageBLL infoBll=new InfoManageBLL();
         DetailInfo = infoBll.GetCaptainDetailInfo(infoId);
     }
 }
Esempio n. 2
0
 public bool SaveCaptianInfo(CaptainInfoDetail detailInfo)
 {
     InfoManageBLL manageBLL = new InfoManageBLL();
     detailInfo.CreateTime = DateTime.Now;
     detailInfo.LastUpdateTime = DateTime.Now;
     detailInfo.Creator = (Session["ADMIN"] as AdminInfo).AdminName;
     detailInfo.Creator = (Session["ADMIN"] as AdminInfo).AdminName;
     detailInfo.IsPublish = true;
     return manageBLL.SaveCaptianInfo(detailInfo);
 }
Esempio n. 3
0
        public bool SaveCaptianInfo(CaptainInfoDetail detailInfo)
        {
            bool baseResult = false;
               string resultMessage = "";
               baseResult = this.ICaptainInfoManage.UpdateTableInfo<CaptainInfoDetail>(detailInfo);

               return baseResult;
        }
Esempio n. 4
0
 public bool deleteCaptainDetailInfo(int infoId)
 {
     CaptainInfoDetail detailInfo=new CaptainInfoDetail();
        detailInfo.Id=infoId;
        return this.ICaptainInfoManage.DeleteTableInfo<CaptainInfoDetail>(detailInfo);
 }