Ejemplo 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);
     }
 }
Ejemplo 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);
 }
Ejemplo n.º 3
0
        public bool SaveCaptianInfo(CaptainInfoDetail detailInfo)
        {
            bool baseResult = false;
               string resultMessage = "";
               baseResult = this.ICaptainInfoManage.UpdateTableInfo<CaptainInfoDetail>(detailInfo);

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