Ejemplo n.º 1
0
        public ActionResult GetFollowUpConfigurationByID(int id)
        {
            string message = string.Empty;

            using (var fuconfigmanager = new FollowUpConfigurationManager(GetLoginUser()))
            {
                var result = fuconfigmanager.GetFUConfigurationByID(id, out message);
                //var result = fuconfigmanager.GetAllFUConfiguration();
                return(PartialView("_FollowUpGroups", result));
            }
        }
Ejemplo n.º 2
0
        public ActionResult CreateFollowUpGroup(int followUpConfigurationID)
        {
            string message = string.Empty;

            using (var followUpConfigurationManager = new FollowUpConfigurationManager())
            {
                FollowUpConfiguration followupconfiguration = followUpConfigurationManager.GetFUConfigurationByID(followUpConfigurationID, out message);
                if (followupconfiguration == null)
                {
                    SetViewBagError("Invalid Follow-Up Configuratio ID. Create Follow-Up Configuration first.");
                    return(View());
                }
                FollowUpGroup followupgroup = new FollowUpGroup();
                followupgroup.FollowUpConfigurationID = followUpConfigurationID;

                return(View(followupgroup));
            }
        }