public OwnerPendingShowingCalendar SecondOwnerPendingShowingCalendar()
        {
            var secondOwnerPendingShowingCalendar = new OwnerPendingShowingCalendar {

                 EventID = new Int32()
            ,
                 EventTitle = null,
                 StartDate = new DateTime(),
                 EndDate = new DateTime(),
                 IsAllDay = new Boolean(),
                 OwnerId = new Int32()
            ,
                 UnitId = new Int32()
            ,
                 RequesterName = null,
                 RequesterEmail = null,
                 RequesterTelephone = null

             };

            return secondOwnerPendingShowingCalendar;
        }
        public void InsertPendingShowingRequest(int id)
        {
            //Depending on the Poster role
            //Insert into PendingRequestWShowing.
            var unitposter = UserHelper.GetPoster(id, HttpContext.Request.Url) ?? UserHelper.PosterHelper.DefaultPoster;

            if (unitposter.Role == "owner")
            {
                //Pending OWner
                var pendingshowing = new OwnerPendingShowingCalendar
                    {
                        EventTitle = "Pending Showing Request From ",
                        StartDate = DateTime.Now,
                        EndDate = DateTime.Now,
                        IsAllDay = false,
                        OwnerId = unitposter.PosterId
                    };
                UnitofWork.OwnerPendingShowingCalendarRepository.Add(pendingshowing);
                UnitofWork.Save();
            }

            if (unitposter.Role == "agent")
            {
                //Pending Agent
            }
        }