Exemplo n.º 1
0
 public ActionResult CreateAttachedDoc(long docid)
 {
     ViewBag.DocTypes        = docTypeServ.GetList();
     ViewBag.Office          = officeServ.GetList();
     ViewBag.ContactType     = conTypeServ.GetList();
     ViewBag.AttachFileTypes = new AttachFileTypeService().GetList((int)Enums.ContentTypes.OutDoc);
     ViewBag.UnID            = Guid.NewGuid().ToString();
     ViewBag.Region          = regionServ.GetList(0);
     ViewBag.Tematika        = new Srv_Tematika().GetList();
     ViewBag.AttachDoc       = new AttachDoc().GetList();
     ViewBag.DocID           = docid;
     return(PartialView("_CreateAttachedDoc"));
 }
Exemplo n.º 2
0
 public ActionResult Create()
 {
     ViewBag.DocTypes        = doctype.GetList();
     ViewBag.Office          = office.GetList();
     ViewBag.ActionType      = actType.GetList();
     ViewBag.ContactType     = conType.GetList();
     ViewBag.AttachFileTypes = new AttachFileTypeService().GetList((int)Enums.ContentTypes.ServDoc);
     ViewBag.AppealType      = new AppealTypeService().GetList();
     ViewBag.UnID            = Guid.NewGuid().ToString();
     ViewBag.Region          = regionServ.GetList(0);
     ViewBag.Tematika        = new Srv_Tematika().GetList();
     ViewBag.User            = empServ.GetUserListByPositionStatus();
     ViewBag.AttachDoc       = new AttachDoc().GetList();
     return(PartialView("Create"));
 }
Exemplo n.º 3
0
 public ActionResult Create()
 {
     ViewBag.DocTypes        = doctype.GetList();
     ViewBag.AttachFileTypes = new AttachFileTypeService().GetList((int)Enums.ContentTypes.CtzApp);
     ViewBag.AppealCharacter = new AppealCharacter_Service().GetList();
     ViewBag.AppealType      = new AppealTypeService().GetList();
     ViewBag.Tematika        = new Srv_Tematika().GetList();
     ViewBag.AttachDoc       = new AttachDoc().GetList();
     ViewBag.UnID            = Guid.NewGuid().ToString();
     ViewBag.Region          = regionServ.GetList(0);
     ViewBag.User            = empServ.GetUserListByPositionStatus();
     ViewBag.Gender          = genderServ.GetList();
     ViewBag.SocialStatus    = socialStatusServ.GetList();
     ViewBag.Category        = categoryServ.GetList();
     ViewBag.Company         = compServ.GetRows();
     //ViewBag.Employees = new SelectList((from e in emp.GetList()
     //                                    select new
     //                                    {
     //                                        id = e.empID,
     //                                        title = e.empName + " " + e.empSurname
     //                                    }), "id", "title");
     return(PartialView("Create"));
 }