Exemple #1
0
        public async Task <bool> RemoveAsync(Expression <Func <UserInfo, bool> > express)
        {
            var spec = Specification <UserInfo> .Eval(express);

            return(adminManage.RemoveAt(spec) ? await context.SaveChangesAsync() > 0 : false);
        }