Esempio n. 1
0
        /// <summary>
        /// update model
        /// </summary>
        /// <typeparam name="T">model type</typeparam>
        /// <param name="model">model</param>
        /// <returns>update model quantity</returns>
        public virtual int UpdateByModel <T>(T model) where T : class
        {
            IMainDal dal = new MainDal();

            return(dal.UpdateByModel <T>(model));
        }