예제 #1
0
 public bool Delete(long id)
 {
     UserCache.Delete(id);
     return(_provider.Delete(id));
 }
예제 #2
0
        //public UserModel Get(string UserName)
        //{
        //    return UserCache.Get();
        //}

        public bool Update(UserModel model)
        {
            UserCache.Delete(model.Id);
            return(_provider.Update(model));
        }