예제 #1
0
        /// <summary>
        /// 删除UserInfo信息
        /// </summary>
        /// <param name="ids">要删除的Id编号</param>
        /// <returns>业务操作结果</returns>
        public async Task <OperationResult> DeleteUserInfos(params int[] ids)
        {
            ids.CheckNotNull("ids");
            await UserInfoRepo.RecycleAsync(p => ids.Contains(p.Id));

            return(new OperationResult(OperationResultType.Success, "删除成功"));
        }