Beispiel #1
0
        /// <summary>
        ///  ClientPretensionExpert
        /// </summary>
        /// <returns></returns>
        public ActionResult ClientPretensionExpert()
        {
            List <ReferenceUniversalItem> reference = referenceBusinessLogic.GetUniversalList(Constants.ClientPretensionExpert);

            ReferenceUniversalItemModel.FillListReferenceUniversal(reference);
            return(View(ReferenceUniversalItemModel.ListReferenceUniversalItem));
        }
Beispiel #2
0
        /// <summary>
        /// ReferenceRef
        /// </summary>
        /// <returns></returns>
        public ActionResult ReferenceRef()
        {
            List <ReferenceUniversalItem> reference = referenceBusinessLogic.GetUniversalList(Constants.ReferenceRef);

            ReferenceUniversalItemModel.FillListReferenceUniversal(reference);
            return(View(ReferenceUniversalItemModel.ListReferenceUniversalItem));
        }
Beispiel #3
0
 public ActionResult ReferenceRefEdit(long?id)
 {
     if (id == null)
     {
         ReferenceUniversalItemModel refItem = new ReferenceUniversalItemModel();
         refItem.ReferenceName = Constants.ReferenceRef;
         return(View(refItem));
     }
     else
     {
         return(View(ReferenceUniversalItemModel.ListReferenceUniversalItem.Find(a => a.Id == id)));
     }
 }
Beispiel #4
0
 public ActionResult DeliveryPointRefEdit(long?id)
 {
     if (id == null)
     {
         ReferenceUniversalItemModel refItem = new ReferenceUniversalItemModel();
         refItem.FillReferenceForView();
         refItem.ReferenceName = Constants.DeliveryPointRef;
         return(View(refItem));
     }
     else
     {
         ReferenceUniversalItemModel refItem = ReferenceUniversalItemModel.ListReferenceUniversalItem.Find(a => a.Id == id);
         refItem.FillReferenceForView();
         return(View(refItem));
     }
 }