public bool Delete(long id) { UserCache.Delete(id); return(_provider.Delete(id)); }
//public UserModel Get(string UserName) //{ // return UserCache.Get(); //} public bool Update(UserModel model) { UserCache.Delete(model.Id); return(_provider.Update(model)); }