예제 #1
0
        public ActionResult DeleteByIds(long[] Ids)
        {
            var apiResult = new APIResult();

            try
            {
                RoomBll.Deletes(Ids);
            }
            catch (Exception ex)
            {
                apiResult.Ret = -1;
                apiResult.Msg = ex.Message;
                if (!(ex is OperationExceptionFacade))
                {
                    LogFactory.GetLogger().Log(LogLevel.Error, ex);
                }
            }
            return(Json(apiResult));
        }