Example #1
0
        public ActionResult FormPage()
        {
            FormDAL formDAL = new FormDAL();

            var forms = formDAL.Get();

            ViewBag.Message  = forms;
            ViewBag.NumTimes = forms.Count();

            return(View());
        }
Example #2
0
 public virtual FormDataModel Get(int id)
 {
     return(FormDAL.Get(id));
 }