예제 #1
0
        private void DeleteItem(string argShiftId)
        {
            log4net.ILog logger = log4net.LogManager.GetLogger("File");

            try
            {
                if (!string.IsNullOrEmpty(argShiftId))
                {
                    AdminBLL           ws   = new AdminBLL();
                    DeleteShiftRequest _req = new DeleteShiftRequest();

                    _req.ShiftNo = argShiftId.ToString();

                    ws.DeleteShift(_req);
                    HttpContext.Current.Items.Add(ContextKeys.CTX_COMPLETE, "DELETE");
                    Server.Transfer("PassUpDateComplete.aspx");
                }
            }
            catch (System.Threading.ThreadAbortException)
            {
            }
            catch (Exception ex)
            {
                logger.Info(ex.Message);
            }
        }
예제 #2
0
 public void DeleteShift(DeleteShiftRequest argObj)
 {
     try
     {
         AdminDAL ws = new AdminDAL();
         ws.DeleteShiftUser(argObj);
     }
     catch (Exception ex)
     {
     }
 }