Exemplo n.º 1
0
        protected void GetUserCDP()
        {
            CallDayPlanningViewEntity_UserDate entity = new CallDayPlanningViewEntity_UserDate();

            entity.ClientUserID = Request.QueryString["ClientUserID"].ToInt();
            entity.CallDate     = Request.QueryString["CallDate"].ToDateTime();
            if (!string.IsNullOrEmpty(Request.QueryString["ClientStructureID"]))
            {
                entity.ClientStructureID = Guid.Parse(Request.QueryString["ClientStructureID"]);
            }
            if (!string.IsNullOrEmpty(Request.QueryString["ClientPositionID"]))
            {
                entity.ClientPositionID = Request.QueryString["ClientPositionID"].ToInt();
            }

            userCalendar.VisibleDate = entity.CallDate.Value;
            list = new CallDayPlanningBLL(CurrentUserInfo).GetUserCDP(entity);
        }
Exemplo n.º 2
0
 public CallDayPlanningViewEntity_UserDate[] GetUserCDP(CallDayPlanningViewEntity_UserDate entity)
 {
     return(this._currentDAO.GetUserCDP(entity));
 }