public static int Update(Expression <Func <Mongo_Users, bool> > filter, Mongo_Users obj) { try { using (var access = new Mongo_UsersAccess()) { return(access.Update(filter, obj)); } } catch (Exception ex) { throw ex; } }