public BaseOutput DeleteUserGroup(Int64 id, out tbl_UserGroup itemOut) { BaseOutput baseOutput; itemOut = null; try { tbl_UserGroup userGroup = operation.DeleteUserGroup(id, 0); itemOut = userGroup; return(baseOutput = new BaseOutput(true, BOResultTypes.Success.GetHashCode(), BOBaseOutputResponse.SuccessResponse, "")); } catch (Exception ex) { return(baseOutput = new BaseOutput(false, BOResultTypes.Danger.GetHashCode(), BOBaseOutputResponse.DangerResponse, ex.Message)); } }