Example #1
0
        public static ClsReturnValues setForms(ClsForms obj)
        {
            ClsReturnValues lst = new ClsReturnValues();

            using (var db = new tdoEntities())
            {
                lst = db.uspAddEditForms(obj.formID, obj.menuItemID, obj.formName, obj.formDescription, obj.createdByID, obj.sessionID).FirstOrDefault();
            }
            return(lst);
        }
Example #2
0
        public static ClsReturnValues setForms(ClsForms obj)
        {
            ClsReturnValues lst = new ClsReturnValues();
            using (var db = new tdoEntities())
            {

                lst = db.uspAddEditForms(obj.formID,obj.menuItemID,obj.formName,obj.formDescription,obj.createdByID, obj.sessionID).FirstOrDefault();
            }
            return lst;
        }